Skip to content

Compare abundances

Compare two estimates of cell abundances from a Hooke model.

compare_abundances(
  ccm,
  cond_x,
  cond_y,
  method = c("BH", "bonferroni", "hochberg", "hommel", "BY")
)

Arguments

ccm

A cell_count_model.

cond_x

tibble A cell type abundance estimate from estimate_abundances().

cond_y

tibble A cell type abundance estimate from estimate from estimate_abundances().

method

string A method for correcting P-value multiple comparisons. This can be "BH" (Benjamini & Hochberg), "bonferroni" (Bonferroni), "hochberg" (Hochberg), "hommel", (Hommel), or "BYH" (Benjamini & Yekutieli).

Value

tibble A table contrasting cond_x and cond_y (interpret as Y/X).