stat_fc {baizer} | R Documentation |
fold change calculation which returns a extensible tibble
stat_fc(
df,
y,
x,
method = "mean",
.by = NULL,
rev_div = FALSE,
digits = 2,
fc_fmt = "short",
suffix = "x"
)
df |
tibble |
y |
value |
x |
sample test group |
method |
|
.by |
super-group |
rev_div |
reverse division |
digits |
fold change digits |
fc_fmt |
fold change format, one of short, signif, round |
suffix |
suffix of fold change, |
fold change result tibble
stat_fc(mini_diamond, y = price, x = cut, .by = clarity)