Select variable genes
selectVariableFeatures(
SRTProj,
nfeatures = 2000,
type = c("HVGs", "SVGs"),
method = "vst",
use_custom_features = NULL,
exclude_features = NULL
)
a SRTProject object.
a positive integer, the number of variable features to be chosen.
a string, one of "HVGs" and "SVGs", represent the type of variable genes to be chosen.
a string, the method to use, including 'vst' if type='HVGs'
, "SPARK-X" if type='SVGs'
.
a string vector, a group of custom genes to use. If this argument is not NULL
, it will use this group of custom genes as variable genes.
a string vector, a group of genes to be excluded when finding variable genes.
a revised SRTProject object.