getFeatureVariables.Rd
Extracts the specified feature variables from the feature data.
getFeatureVariables(
object,
features,
return = "data.frame",
unique = "deprecated",
of_sample = NA
)
A valid spata-object.
The features of interest specified as a character vector.
Character value. One of 'vector', 'data.frame' or
'list'. In order to return a vector the input of features
must
be of length one.
This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.
A data.frame or a vector.