bb_rowmeta: Get Feature/Gene Metadata

View source: R/bb_meta.R

bb_rowmetaR Documentation

Get Feature/Gene Metadata

Description

Take a cell_data_set or Seurat object and return the gene/feature metadata in the form of a tibble. RNA is used as the default assay.

Usage

bb_rowmeta(
  obj,
  row_name = "feature_id",
  experiment_type = "Gene Expression",
  assay = "RNA",
  cds = NULL
)

Arguments

obj

A cell_data_set or Seurat object

row_name

Optional name to provide for feature unique identifier, Default: 'feature_id'

experiment_type

The experiment type to display. Applies only to cds objects. Commonly will be either "Gene Expression" or "Antibody Capture", Default: 'Gene Expression'

assay

For a Seurat object, th feature assay to return. CDS objects with alternative experiments are not supported, Default: 'RNA'

cds

Provided for compatibility with prior versions, Default: NULL

Details

If a value is supplied for cds, a warning will be issued and the function will pass the value of cds to obj.

Value

At tibble.


blaserlab/blaseRtools documentation built on April 14, 2025, 6:04 p.m.