Description Usage Arguments Value Author(s) See Also Examples
Plot Dot
1 2 3 4 5 6 7 8 | ## S4 method for signature 'SingleCellExperiment'
plotDot(object, genes, color = NULL,
colMin = -2.5, colMax = 2.5, dotMin = 0L, dotScale = 6L,
legend = TRUE)
## S4 method for signature 'seurat'
plotDot(object, genes, color = NULL, colMin = -2.5,
colMax = 2.5, dotMin = 0L, dotScale = 6L, legend = TRUE)
|
object |
Object. |
genes |
Gene identifiers. Must match the rownames of the object. |
color |
Desired ggplot color scale. Must supply discrete values. When
set to |
colMin |
Minimum scaled average expression threshold. Everything smaller will be set to this. |
colMax |
Maximum scaled average expression threshold. Everything larger will be set to this. |
dotMin |
The fraction of cells at which to draw the smallest dot. All cell groups with less than this expressing the given gene will have no dot drawn. |
dotScale |
Scale the size of the points, similar to |
legend |
Include plot legend. |
ggplot
.
Michael Steinbaugh
Modified version of Seurat::DotPlot()
.
Other Gene Expression Functions: plotGene
,
plotViolin
1 2 3 4 | # seurat ====
object <- seurat_small
genes <- head(rownames(object))
plotDot(object, genes = genes)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.