Plot fiber area by fiber type and group

plot_fiber_type(
  x,
  response,
  conf,
  stats,
  muscle = "MG",
  sex = "Female",
  age = "6M",
  ymin,
  ymax
)

Arguments

x

a data.frame with columns "response", "type", "group", "muscle", "age", "sex", and the column given by response.

response

character; name of a column in x. Used to plot individual data points.

conf

a data.frame with columns "muscle", "age", "sex", "group", "response_mean", "lower.CL", and "upper.CL".

stats

data.frame with columns "muscle", "type", "age", "sex", "contrast", "type", "p.value", and "signif".

muscle

character; skeletal muscle to plot. Either "LG", "MG", "PL", or "SOL" (lateral gastrocnemius, medial gastrocnemius, plantaris, or soleus).

sex

character; sex of rats to plot. Either "Female" or "Male".

age

character; age of rats to plot. Either "6M" or "18M".

ymin

numeric; lower y-axis limit.

ymax

numeric; upper y-axis limit.