violinPlot {celda} | R Documentation |
Outputs a violin plot for feature expression data.
violinPlot(counts, celdaMod, features, plotDots = FALSE)
counts |
Integer matrix. Rows represent features and columns represent cells. |
celdaMod |
Celda object of class "celda_G" or "celda_CG". |
features |
Character vector. Uses these genes for plotting. |
plotDots |
TRUE or FALSE. If TRUE, the expression of features will be plotted as points in addition to the violin curve. |
Violin plot for each feature, grouped by celda cluster
data(celdaCGSim, celdaCGMod) violinPlot(counts = celdaCGSim$counts, celdaMod = celdaCGMod, features = "Gene_1")