View source: R/plotFunctions.R
plotDistFromCellInfoTable | R Documentation |
plot distribution using cell info table
plotDistFromCellInfoTable(
obj,
out.prefix,
plot.type = "barplot",
facet.ncol = 3,
plot.width = 10,
plot.height = 5,
test.method = "fisher.test",
group.filter = NULL,
sort.freq = F,
bar.position = position_dodge2(),
par.stat = list(),
min.NTotal = 0,
cmp.var = "Species",
group.var = "ClusterID",
donor.var = "donor",
verbose = F,
...
)
obj |
object; can be class of Seurat, SingleCellExperiment or data.frame; |
out.prefix |
character; output prefix. |
plot.type |
character; (default: "barplot") |
facet.ncol |
integer; (default: 3) |
plot.width |
integer; (default: 10) |
plot.height |
integer; (default: 5) |
test.method |
character; (default: "fisher.test") |
group.filter |
character; (default: NULL) |
sort.freq |
logical; (default: FALSE) |
bar.position |
; passed to ggbarplot's position (default: position_dodge2()) |
par.stat |
parameter passed to stat_compare_means (default: list() ) |
min.NTotal |
minimum number of cells to calculate frequency (default: 0 ) |
cmp.var |
character; (default: "Species") |
group.var |
character; (default: "ClusterID") |
donor.var |
character; (default: "donor") |
verbose |
logical; (default: FALSE) |
... |
parameter passed to ggpubr |
plot distribution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.