get_ctd_levels: Get the names of CellTypeDataset levels

View source: R/get_ctd_levels.R

get_ctd_levelsR Documentation

Get the names of CellTypeDataset levels

Description

Returns the level names of a CellTypeDataset. If none are available, will instead return a vector of numbers (one number per level).

Usage

get_ctd_levels(ctd, max_only = FALSE)

Arguments

ctd

CellTypeDataset.

max_only

Only return the level with the greatest depth (e.g. "level3" in c("level1","level2","level3")).

Value

List of levels in ctd.


NathanSkene/EWCE documentation built on Nov. 3, 2024, 8:16 a.m.