topSVGs {DR.SC} | R Documentation |
Return the top n SVGs
Description
Return top n spatially variable genes given a Seurat object performed by FindSVGs.
Usage
topSVGs(seu, ntop=5)
Arguments
seu |
an object of class "Seurat". |
ntop |
an optional positive integer, means how many spatially variable genes to access. |
Details
Nothing
Value
return a character vector including the names of SVGs.
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, verbose=FALSE)
(genes <- topSVGs(seu, ntop=10))
[Package DR.SC version 3.4 Index]