R/get_obs_names.R

Defines functions get_obs_names

Documented in get_obs_names

#' Get obs names
#'
#' Get the names of each observation in a single-cell object.
#' @inheritParams converters
#' @returns Vector of observation names.
#'
#' @export
#' @examples
#' obj <- example_obj()
#' obs_names <- get_obs_names(obj)
get_obs_names <- function(obj) {
  rownames(get_obs(obj))
}
bschilder/scKirby documentation built on April 22, 2024, 12:13 a.m.