topSVGs | R Documentation |
Return top n spatially variable genes given a Seurat object performed by FindSVGs.
topSVGs(seu, ntop=5)
seu |
an object of class "Seurat". |
ntop |
an optional positive integer, means how many spatially variable genes to access. |
Nothing
return a character vector including the names of SVGs.
nothing
Wei Liu
None
topSVGs
seu <- gendata_RNAExp(height=20, width=20,p=200, K=4)
seu <- FindSVGs(seu, nfeatures=100, verbose=FALSE)
(genes <- topSVGs(seu, ntop=10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.