This function calls sctransform::vst. The sctransform package is available at https://github.com/ChristophH/sctransform. Use this function as an alternative to the NormalizeData, FindVariableFeatures, ScaleData workflow. Results are saved in the assay's data and scale.data slot, and sctransform::vst intermediate results are saved in misc slot of seurat object.
1 2 3 4 |
object |
A seurat object |
assay |
Name of assay to use |
do.correct.umi |
Place corrected UMI matrix in assay data slot |
variable.features.rv.th |
Features with residual variance greater or equal this value will be selected as variable features; default is 1.3 |
variable.features.n |
Use this many features as variable features after ranking by residual variance |
return.dev.residuals |
Place deviance residuals instead of Pearson residuals in scale.data slot; default is FALSE |
clip.range |
Range to clip the residuals to; default is |
do.scale |
Whether to scale residuals to have unit variance; default is FALSE |
do.center |
Whether to center residuals to have mean zero; default is TRUE |
verbose |
Whether to print messages and progress bars |
... |
Additional parameters passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.