fractDotPlot {RaceID} | R Documentation |
Dotplot of gene expression across clusters or samples
Description
This is a plotting function for visualizing gene expression across subsets of clusters or samples. The diameter of a dot reflects the fraction of cells expressing a gene, and the color indicates the expression z-score across all clusters or samples.
Usage
fractDotPlot(
object,
genes,
cluster = NULL,
samples = NULL,
subset = NULL,
zsc = FALSE,
logscale = TRUE,
cap = Inf,
flo = -Inf
)
Arguments
object |
|
genes |
vector of valid gene names corresponding to row names of slot |
cluster |
vector of valid cluster numbers contained in slot |
samples |
vector of sample names for all cells. Length and order has to correspond to |
subset |
vector of unique sample names to show in the expression dotplot. Each sample names in |
zsc |
logical. If |
logscale |
logical. If |
cap |
real number. Upper limit for the expression, log2 expression, or z-score. Values larges then |
flo |
real number. Lower limit for the expression, log2 expression, or z-score. Values smaller then |
Value
None