Plots the cell composition differences between groups.

CCplot(
  tidyCC = tidyCC,
  testCovariate = testCovariate,
  adjustCovariate = NULL,
  matchCovariate = NULL
)

Arguments

tidyCC

The list of tibbles returned by DMRichR::CCstats()

testCovariate

The factor to test for differences between groups

adjustCovariate

The covariate(s) to adjust for between groups

matchCovariate

Another covariate to adjust for between groups (for dmrseq compatibility)

Value

A ggplot object that can be viewed by calling it, saved with ggplot2::ggsave(), or further modified by adding ggplot2 syntax.

Details

CCplot