Donut charts of mean fiber type percentages.

fiber_donut_chart(x)

Arguments

x

a data.frame with columns "group" ("SED", "8W"), "type" ("I", "IIa", "IIx", "IIb"), and "fiber_count" (numeric).

Value

A ggplot2 object.

Details

Fiber counts are summed across the biological replicates for each combination of group (SED, 8W) and fiber type (I, IIa, IIx, IIb). Then, each of these summed counts are divided by the total fiber count for that group and multiplied by 100 to obtain percentages.