Description Usage Arguments Details Value See Also
Identifies genes that are outliers on a 'mean variability plot'. First, uses a function to calculate average expression (mean.function) and dispersion (dispersion.function) for each gene. Next, divides genes into num.bin (deafult 20) bins based on their average expression, and calculates z-scores for dispersion within each bin. The purpose of this is to identify variable genes while controlling for the strong relationship between variability and average expression.
1 2 3 4 5 |
object |
Seurat object |
mean.function |
Function to compute x-axis value (average expression). Default is to take the mean of the detected (i.e. non-zero) values |
dispersion.function |
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) |
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 |
num.bin |
Total number of bins to use in the scaled analysis (default is 20) |
do.recalc |
TRUE by default. If FALSE, plots and selects variable genes without recalculating statistics for each gene. |
sort.results |
If TRUE (by default), sort results in object@hvg.info in decreasing order of dispersion |
... |
Extra parameters to VariableGenePlot |
Exact parameter settings may vary empirically from dataset to dataset, and based on visual inspection of the plot. Setting the y.cutoff parameter to 2 identifies genes that are more than two standard deviations away from the average dispersion within a bin. The default X-axis function is the mean expression level, and for Y-axis it is the log(Variance/mean). All mean/variance calculations are not performed in log-space, but the results are reported in log-space - see relevant functions for exact details.
Returns a Seurat object, placing variable genes in object@var.genes. The result of all analysis is stored in object@hvg.info
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.