Get names of all features in an assay/experiment/modality
features_in_assay.Rd
Returns the names of all features in a modality. This utility function can be used in several applications:
In Shiny apps, return available features for passage to a selection menu
Before using
fetch_data()
, generate a list of features in the object for searching, or test if a feature is present before requesting data
Usage
features_in_assay(object, assay)
# S3 method for class 'Seurat'
features_in_assay(object, assay)
# S3 method for class 'SingleCellExperiment'
features_in_assay(object, assay)
# S3 method for class 'AnnDataR6'
features_in_assay(object, assay)