Get the top variables genes
topVGs(SRTProj, ntop = 5, batch = NULL, type = c("HVGs", "SVGs"))
a SRTProject object aftering running selectVariableFeatures
.
a positive integer, the number of top variable genes.
a string, number or NULL, specify the batch name to obtain the variable genes, default as NULL
.
a string, one of "HVGs" and "SVGs", represent the type of variable genes to be chosen.
return a string vector, the top variable genes.