VariableFeatures-StdAssay {SeuratObject} | R Documentation |
Highly Variable Features
Description
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
Usage
## S3 method for class 'StdAssay'
HVFInfo(object, method = NULL, status = FALSE, layer = NA, strip = TRUE, ...)
## S3 method for class 'StdAssay'
VariableFeatures(
object,
method = NULL,
layer = NA,
simplify = TRUE,
nfeatures = NULL,
selection.method = deprecated(),
...
)
## S3 replacement method for class 'StdAssay'
VariableFeatures(object, method = "custom", layer = NULL, ...) <- value
## S3 replacement method for class 'Assay5'
VariableFeatures(object, method = "custom", layer = NULL, ...) <- value
## S3 method for class 'StdAssay'
SpatiallyVariableFeatures(
object,
method = "moransi",
decreasing = TRUE,
selection.method = deprecated(),
...
)
Arguments
object |
An object |
method |
Which method to pull. For
For
|
status |
Add variable status to the resulting data frame |
layer |
Layer to pull variable features for |
strip |
Remove method/layer identifiers from highly variable data frame |
... |
Arguments passed to other methods |
simplify |
When pulling for multiple layers, combine into a single vector and select a common set of variable features for all layers |
nfeatures |
Maximum number of features to select when simplifying |
selection.method |
|
value |
A character vector of variable features |
decreasing |
Return features in decreasing order (most spatially variable first). |
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