selectGenesVST {rliger} | R Documentation |
Select variable genes from one dataset with Seurat VST method
Description
Seurat FindVariableFeatures VST method. This allows the selection of a fixed number of variable features, but only applies to one dataset. No normalization is needed in advance.
Usage
selectGenesVST(
object,
useDataset,
n = 2000,
loessSpan = 0.3,
clipMax = "auto",
useShared = TRUE,
verbose = getOption("ligerVerbose", TRUE)
)
Arguments
object |
A liger object. |
useDataset |
The names, a numeric or logical index of the dataset to be considered for selection. |
n |
Number of variable features needed. Default |
loessSpan |
Loess span parameter used when fitting the variance-mean
relationship. Default |
clipMax |
After standardization values larger than |
useShared |
Logical. Whether to only select from genes shared by all
dataset. Default |
verbose |
Logical. Whether to show information of the progress. Default
|
References
Seurat::FindVariableFeatures.default(selection.method = "vst")
Examples
pbmc <- selectGenesVST(pbmc, "ctrl", n = 50)