View source: R/scran_modelGeneVar.R
runModelGeneVar | R Documentation |
Generates and stores variability data in the input
SingleCellExperiment object, using
modelGeneVar
method.
Also selects a specified number of top HVGs and store the logical selection
in rowData
.
runModelGeneVar(inSCE, useAssay = "logcounts")
inSCE |
A SingleCellExperiment object |
useAssay |
A character string to specify an assay to compute variable
features from. Default |
inSCE
updated with variable feature metrics in rowData
Irzam Sarfraz
runFeatureSelection
, runSeuratFindHVG
,
getTopHVG
, plotTopHVG
data("scExample", package = "singleCellTK")
sce <- subsetSCECols(sce, colData = "type != 'EmptyDroplet'")
sce <- scaterlogNormCounts(sce, "logcounts")
sce <- runModelGeneVar(sce)
hvf <- getTopHVG(sce, method = "modelGeneVar", hvgNumber = 10,
useFeatureSubset = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.