get_obs: Get observations metadata

View source: R/get_obs.R

get_obsR Documentation

Get observations metadata

Description

Extract sample observations (i.e. cell) metadata from any single-cell object.

Usage

get_obs(obj, rownames_col = NULL, verbose = TRUE)

Arguments

obj

A single-cell object supported by scKirby. See converters for a table of all supported conversions.

rownames_col

Name of the column to use as row names in the metadata (i.e. unique cell IDs/barcodes).

verbose

Print messages.

Value

An observation (sample) metadata data.frame.

Examples

obj <- example_obj("scle")
obs <- get_obs(obj)

bschilder/scKirby documentation built on April 22, 2024, 12:13 a.m.