R/get_var_names.R

Defines functions get_var_names

Documented in get_var_names

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