No significant differences in the degree of muscle infiltration were demonstrated between the same muscles of both extremities, after correction for multiple comparisons (Table 1)


The pattern of fatty infiltration in dysferlinopathy
Figure 3 shows a heatmap of the degree of fatty infiltration for patients with dysferlinopathy. Some muscles present a greater degree of fatty infiltration than others. For example, a lower degree of fatty infiltration is observed in the pelvic muscles, and a higher degree of infiltration in the thigh and leg muscles, with relative respect for the sartorius and gracillis, as well as the popliteus, finger flexors, and posterior tibialis.

Figure 4 shows a violin graph in which the previous results are corroborated. Moreover, it is observed that for severely affected muscles, such as soleus, semimembranosus, gastrocnemius, peroneus, flexor digitorum longus, and biceps, corresponding to the posterior compartments of the leg and thigh respectively, there is a low dispersion of the data. Similarly, some of the relatively respected muscles, such as the piriformis, popliteus, and gracilis, present a lower degree of variability; that is, they remain relatively respected in most patients. However, other muscles that present on average a low value of fatty infiltration, such as the psoas iliacus and sartorius, present a high variability, demonstrating greater heterogeneity.

Statistically significant differences were observed between the gluteus minimus, tensor fascia latae, obturator externus, pectineus, adductor brevis, quadratus femoris and vastus medialis, lateralis and intermedius muscles; triceps suralis, peroneus, gastrocnemius and soleus, which present a markedly greater degree of fatty infiltration compared to pelvic muscles, such as psoas iliacus, gluteus maximus and gluteus medius (Figure 5). Together with the above, it is observed that the sartorius and gracilis muscles present relative respect, concerning the rest of the thigh and leg muscles; however, no significant differences were detected for the pelvic muscles, forming another group of relatively respected muscles. Another muscle that also shows statistically significant respect concerning the rest of the musculature corresponds to the popliteus, even in comparison to the other muscles of the adjacent compartments of the leg.

The hierarchical clustering in Figure 6 shows that there are muscle groups that cluster in an unsupervised manner in different muscle compartments such as pelvic muscles with a lower degree of fatty infiltration. Muscles of the anterior compartment; muscles of the posterior compartment of the thigh; lateral compartment of the leg, peroneus longus and brevis muscles. However, a set of muscles with a similar degree of fatty infiltration that does not belong to the same compartment is also observed, involving the gracilis, sartorius, short-head biceps, extensor digitorum, anterior and posterior tibialis.

The pattern of fatty infiltration in dysferlinopathy
Table 2 and Figure 7 show the B coefficients of the logistic regression, with their respective OR, CI, and p-value. It can be seen that the obturator externus (OR 18.63, 95% CI 5.32 - 65.21 ), gluteus minimus (OR 5.89 95% CI 2.4 - 14.45), psoas (OR 5.34, 95% CI 1.82 - 15.61), flexor hallucis longus (OR 5.42 95% CI 2.36 - 12.44), peroneus longus (OR 1. 2 CI 95% 1.18 - 9.35), soleus (OR 3.03 CI 95% 1.12-8.21), medial gastrocnemius (OR 2.99 CI 95% 1.29 - 6.9), flexor digitorum (OR 2.31 CI 95% 1 - 5.33), were associated with a statistically significant positive B, compared to the rest of the dystrophies. On the other hand, the quadratus femoris (OR 0.32 CI 95% 0.11 - 0.94), gracillis (OR 0.25 CI 95% 0.07 - 0.82), adductor magnus (OR 0.19 CI 95% 0.06 - 0.61), piriformis (OR 0.14 CI 95% 0.04 - 0. 47), extensor digitorum (OR 0.13 CI 95% 0.04 - 0.46) and gluteus medius (OR 0.02 CI 95% 0.0 - 0.1), presented a statistically significant negative B concerning the rest of the dystrophies.


Figure 8 shows a confusion matrix for the predictive logistic regression model, where in the case of dysferlinopathy, the model correctly predicted 39 of the 41 patients with this dystrophy. One patient with dysferlinopathy was classified with anoctaminopathy and another as oculopharyngeal dystrophy.

Table 3 shows the precision, recall, and f1-score metrics for each of the classes (see supplementary methods). A weighted accuracy of 0.88 and a mean accuracy of 0.79 were obtained. For dysferlinopathy, the model presented precision and recall of 0.95, reaching the highest f1 -Score of 0.95, together with facioscapulohumeral dystrophy that obtained a precision of 0.94 and recall of 0.96, with an f1-score of 0.95.

Explainability of logistic regression models
Figure 9 shows the 9 variables with the greatest impact on the decision of the model and the sum of the remaining 26 variables. Having greater fatty infiltration of the obturator externus, flexor hallucis longus, and soleus has a positive impact on the model for classifying a patient with dysferlinopathy. On the other hand, having low fatty infiltration in the gluteus medius, gracilis, piriformis, adductor magnus and long head of the biceps have a positive impact on the classification of a patient as having dysferlinopathy.
