Get the data from the Assay, Assay5 or Seurat object.
Usage
GetFeaturesData(object, ...)
# S3 method for class 'Seurat'
GetFeaturesData(object, assay = NULL, ...)
# S3 method for class 'Assay'
GetFeaturesData(object, ...)
# S3 method for class 'Assay5'
GetFeaturesData(object, ...)
Arguments
- object
A Assay, Assay5 or Seurat object.
- ...
Additional arguments passed to the method.
- assay
Assay name to use. Default is NULL.
Value
A data frame containing the features data.
Examples
data(pancreas_sub)
features <- GetFeaturesData(pancreas_sub)
head(features)
#> highly_variable_genes
#> Xkr4 False
#> Mrpl15 False
#> Npbwr1 <NA>
#> 4732440D04Rik False
#> Gm26901 False
#> Sntg1 True