Description Usage Arguments Value Examples
Outputs a violin plot for feature expression data.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | plotCeldaViolin(x, ...)
## S4 method for signature 'SingleCellExperiment'
plotCeldaViolin(
x,
features,
useAssay = "counts",
altExpName = "featureSubset",
exactMatch = TRUE,
plotDots = TRUE,
dotSize = 0.1
)
## S4 method for signature 'matrix'
plotCeldaViolin(
x,
celdaMod,
features,
exactMatch = TRUE,
plotDots = TRUE,
dotSize = 0.1
)
|
x |
Numeric matrix or a SingleCellExperiment object
with the matrix located in the assay slot under |
... |
Ignored. Placeholder to prevent check warning. |
features |
Character vector. Uses these genes for plotting. |
useAssay |
A string specifying which assay
slot to use if |
altExpName |
The name for the altExp slot to use. Default "featureSubset". |
exactMatch |
Logical. Whether an exact match or a partial match using
|
plotDots |
Boolean. If |
dotSize |
Numeric. Size of points if |
celdaMod |
Celda object of class "celda_G" or "celda_CG". Used only if
|
Violin plot for each feature, grouped by celda cluster
1 2 3 4 5 6 | data(sceCeldaCG)
plotCeldaViolin(x = sceCeldaCG, features = "Gene_1")
data(celdaCGSim, celdaCGMod)
plotCeldaViolin(x = celdaCGSim$counts,
celdaMod = celdaCGMod,
features = "Gene_1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.