FindSVGs {DR.SC} | R Documentation |
Find spatially variable genes
Description
Identifies features that have spatially variation along spots.
Usage
FindSVGs(seu, nfeatures=2000,num_core=1, verbose=TRUE)
Arguments
seu |
an object of class "Seurat". |
nfeatures |
a positive integer, means how many highly variable or spatially variable genes to be chosen. If there are less than 2000 features in seu, then all features are identified. |
num_core |
an optional positive integer, specify the cores used for identifying the SVGs in parallel. |
verbose |
an optional logical value, whether output the mediate information. |
Details
Nothing
Value
return a revised Seurat object by adding a column named "is.SVGs" in the meta.features of default Assay.
Note
nothing
Author(s)
Wei Liu
References
None
See Also
Examples
seu <- gendata_RNAExp(height=20, width=20,p=200, K=4)
seu <- FindSVGs(seu, nfeatures=100)
topSVGs(seu)
[Package DR.SC version 2.3 Index]