View source: R/runFeatureSelection.R
runFeatureSelection | R Documentation |
Wrapper function to run all of the feature selection methods
integrated within the singleCellTK package including three methods from
Seurat ("vst"
, "mean.var.plot"
or dispersion
) and the
Scran modelGeneVar
method.
This function does not return the names of the variable features but only
computes the metrics, which will be stored in the rowData
slot. To set
a HVG list for downstream use, users should call setTopHVG
after computing the metrics. To get the names of the variable features, users
should call getTopHVG
function after computing the metrics.
runFeatureSelection(inSCE, useAssay, method = "vst")
inSCE |
Input SingleCellExperiment object. |
useAssay |
Specify the name of the assay that should be used. Should use
raw counts for |
method |
Specify the method to use for variable gene selection.
Options include |
The input SingleCellExperiment object that contains
the computed statistics in the rowData
slot
runModelGeneVar
, runSeuratFindHVG
,
getTopHVG
, plotTopHVG
data("mouseBrainSubsetSCE", package = "singleCellTK")
mouseBrainSubsetSCE <- runFeatureSelection(mouseBrainSubsetSCE,
"logcounts",
"modelGeneVar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.