Description Usage Arguments Value Author(s) See Also
Generates a violin plot that shows the counts of marker
genes in cells across specific clusters or cell types. Can be used to view
the expression of marker genes in different cell types before and after
decontamination with decontX
.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
Either a SingleCellExperiment or a matrix-like object of counts. |
markers |
Character Vector or List. A character vector or list of character vectors with the names of the marker genes of interest. |
groupClusters |
List. A named list that allows
cell clusterslabels coded in
|
assayName |
Character vector. Name(s) of the assay(s) to
plot if |
z |
Character, Integer, or Vector.
Indicates the cluster labels for each cell.
If |
exactMatch |
Boolean. Whether to only identify exact matches
for the markers or to identify partial matches using |
by |
Character. Where to search for the markers if |
log1p |
Boolean. Whether to apply the function |
ncol |
Integer. Number of columns to make in the plot.
Default |
plotDots |
Boolean. If |
dotSize |
Numeric. Size of points if |
Returns a ggplot
object.
Shiyi Yang, Joshua Campbell
See decontX
for a full example of how to estimate
and plot contamination.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.