Computes the degree distribution for bones or muscles.
Usage
degreeDistribution(hg, type = c("muscle", "bone"))Examples
hg <- MSKHypergraph()
head(degreeDistribution(hg, type = "muscle"))
#> degree count probability
#> 1 1 2 0.007407407
#> 2 2 146 0.540740741
#> 3 3 47 0.174074074
#> 4 4 24 0.088888889
#> 5 5 10 0.037037037
#> 6 6 7 0.025925926