Usage
mean.var.plot(object, fxn.x = expMean, fxn.y = logVarDivMean, do.plot = TRUE, set.var.genes = TRUE, do.text = TRUE, x.low.cutoff = 4, x.high.cutoff = 8, y.cutoff = 2, y.high.cutoff = 12, cex.use = 0.5, cex.text.use = 0.5, do.spike = FALSE, pch.use = 16, col.use = "black", spike.col.use = "red", plot.both = FALSE, do.contour = TRUE, contour.lwd = 3, contour.col = "white", contour.lty = 2, num.bin = 20)
Arguments
fxn.x
Function to compute x-axis value (average expression). Default
is to take the mean of the detected (i.e. non-zero) values
fxn.y
Function to compute y-axis value (dispersion). Default is to
take the standard deviation of all values/
do.plot
Plot the average/dispersion relationship
set.var.genes
Set object@var.genes to the identified variable genes
(default is TRUE)
do.text
Add text names of variable genes to plot (default is TRUE)
x.low.cutoff
Bottom cutoff on x-axis for identifying variable genes
x.high.cutoff
Top cutoff on x-axis for identifying variable genes
y.cutoff
Bottom cutoff on y-axis for identifying variable genes
y.high.cutoff
Top cutoff on y-axis for identifying variable genes
do.spike
FALSE by default. If TRUE, color all genes starting with ^ERCC a different color
pch.use
Pch value for points
spike.col.use
if do.spike, color for spike-in genes
plot.both
Plot both the scaled and non-scaled graphs.
do.contour
Draw contour lines calculated based on all genes
contour.lwd
Contour line width
contour.col
Contour line color
contour.lty
Contour line type
num.bin
Total number of bins to use in the scaled analysis (default
is 20)