convert_data: Convert expression data rownames to ensembl

View source: R/fct_01_load_data.R

convert_dataR Documentation

Convert expression data rownames to ensembl

Description

This function works with the converted ids to take in the expression data and swap the rownames to the converted ids. It returns the data exactly the same except for the changed ids.

Usage

convert_data(
  converted,
  data,
  no_id_conversion,
  multiple_map = c("mean", "median", "sum", "max", "max_sd")
)

Arguments

converted

Data from convert_id() function containing converted ids

data

Data from the input expression file

no_id_conversion

TRUE/FALSE for converting data ids or not

multiple_map

String to designate how to handle values when multiple ids are matched to the same gene. Options are 'mean', 'median', 'sum', 'max', and 'max_id'.

Value

Returns original data with rownames converted to ensembl

See Also

Other load data functions: gene_info(), get_all_gene_names(), input_data()


espors/idepGolem documentation built on Oct. 27, 2024, 4:56 a.m.