plotDotplot | R Documentation |
Get Seurat dot plot for snap gmat.
plotDotplot( snap = NULL, snapList = NULL, cluster = NULL, features, groupBy = "cluster", cellidSep = ".", axis.text.x.angle = 30, axis.text.x.hjust = 1, scaleSizeMin = 4, scaleSizeMax = 6, scaleColorLow = "blue", scaleColorMid = "white", scaleColorHigh = "red", ... )
snap |
snap object, default is NULL |
snapList |
list of snap object, default is NULL |
cluster |
vector of characters, integers, or factors must have names, which are the cell ids. Cluster size can be larger than snap or snapList size, but have to make sure all the cells in snap or snapList have the cluster identification. |
features |
vector of characters, genes for plotting. |
cellidSep |
characters default is "." |
axis.text.x.angle |
numeric, default is 30 |
axis.text.x.hjust |
numeric, default is 1 |
scaleSizeMin |
integer, default is 4 |
scaleSizeMax |
integer, default is 6 |
scaleColorLow |
color name, default is "blue" |
scaleColorMid |
color name, default is "white" |
scaleColorHigh |
color name, default is "red" |
... |
used for Seurat::DotPlot function |
group.by |
characters default is cluster |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.