R/humanize.R

#' Humanize an R object
#'
#' @details
#' This can make dimnames invalid (see [`make.names()`][base::make.names]) and
#' should only be called prior to writing files to disk.
#'
#' @export
#' @inheritParams AcidRoxygen::params
#'
#' @return Modified object.
#' Contains human-friendly rownames (e.g. gene symbols instead of stable gene
#' IDs) and colnames (e.g. sample names instead of sample IDs).
#'
#' @examples
#' showMethods("humanize")
setGeneric(
    name = "humanize",
    def = function(object, ...) {
        standardGeneric("humanize")
    }
)
acidgenomics/bioverbs documentation built on April 7, 2024, 7:14 a.m.