Convenience wrapper around SOMAExperimentAxisQuery, to build and execute a
query, and return it as a Seurat object.
Source: R/get_helpers.R
get_seurat.RdConvenience wrapper around SOMAExperimentAxisQuery, to build and execute a
query, and return it as a Seurat object.
Usage
get_seurat(
census,
organism,
measurement_name = "RNA",
X_name = "raw",
obs_query = NULL,
obs_column_names = NULL,
var_query = NULL,
var_column_names = NULL
)Arguments
- census
The census object, usually returned by
cellxgene.census::open_soma().- organism
The organism to query, usually one of
Homo sapiensorMus musculus- measurement_name
The measurement object to query. Defaults to
RNA.- X_name
The
Xlayer to query. Defaults toraw.- obs_query
A
SOMAAxisQueryfor theobsaxis.- obs_column_names
Columns to fetch for the
obsdata frame.- var_query
A
SOMAAxisQueryfor thevaraxis.- var_column_names
Columns to fetch for the
vardata frame.