get_var: Get variable metadata

View source: R/get_var.R

get_varR Documentation

Get variable metadata

Description

Extract feature variable (i.e. gene) metadata from any single-cell object.

Usage

get_var(obj, rownames_col = NULL, n = 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 gene/transcript IDs).

n

The maximum number of elements to return from that list.

verbose

Print messages.

Value

One or more variable (feature) metadata data.frames.

Examples

obj <- example_obj("cds")
var <- get_var(obj)

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