Get and set variable feature information for an Assay
object.
HVFInfo
and VariableFeatures
utilize generally variable
features, while SVFInfo
and SpatiallyVariableFeatures
are
restricted to spatially variable features
# S3 method for StdAssay
HVFInfo(object, method = NULL, status = FALSE, layer = NULL, strip = TRUE, ...)# S3 method for StdAssay
VariableFeatures(
object,
method = NULL,
layer = NA,
simplify = TRUE,
nfeatures = Inf,
selection.method = deprecated(),
...
)
# S3 method for StdAssay
VariableFeatures(object, method = "custom", layer = NULL, ...) <- value
HVFInfo
: A data frame with feature means, dispersion, and
scaled dispersion
VariableFeatures
: a vector of the variable features
SVFInfo
: a data frame with the spatially variable features
SpatiallyVariableFeatures
: a character vector of the spatially
variable features
An object
Which method to pull. For HVFInfo
and
VariableFeatures
, choose one from one of the
following:
“vst”
“sctransform” or “sct”
“mean.var.plot”, “dispersion”, “mvp”, or “disp”
For SVFInfo
and SpatiallyVariableFeatures
, choose from:
“markvariogram”
“moransi”
Add variable status to the resulting data frame
Layer to pull variable features for
Remove method/layer identifiers from highly variable data frame
Arguments passed to other methods
When pulling for multiple layers, combine into a single vector and select a common set of variable features for all layers
Maximum number of features to select when simplifying
lifecycle::badge("deprecated")
A character vector of variable features