CompareCellProp.Rd
Compare the cell proportion
CompareCellProp(
object,
group.by = NULL,
prop.in = NULL,
sample.annotation = NULL,
cols = NULL,
comparisons = NULL,
method.test = "wilcox.test"
)
Seurat object
Name of one metadata column to group the cells, usually this refers to the clustering results.
Name of one metadata column to compute the cell proportion, usually this refers to the sample identify
Name of one metadata column to group the samples for comparison
Specific colors for plotting
A list of length-2 vectors used to compare the proportion. This parameter is passed to the function stat_compare_means.
Name of method for statistical test. Default: "wilcox.test"
A ggplot object