md_post_handle_age: Handle age term mappings for metadata postprocessing

View source: R/md_postprocess.R

md_post_handle_ageR Documentation

Handle age term mappings for metadata postprocessing

Description

This function is called by md_postprocess() in order to handle the logic of age term mappings from preprocessed metadata.

Usage

md_post_handle_age(
  mdpre,
  mdpost,
  mdpost.vl = list(age = "age"),
  mdpre.vl = list(sample_id = "gsm", sample_title = "gsm_title", info = "info", age =
    "age", age_temp = "age_temp"),
  verbose = TRUE
)

Arguments

mdpre

Table of preprocessed metadata.

mdpost

Table of postprocessed metadata.

mdpost.vl

List mapping term categories (names) to column names in the mdpost postprocessed metadata matrix to be generated.

mdpre.vl

List mapping term categories (names) to column names in the mdpre preprocessed metadata matrix.

verbose

Whether to show status messages (TRUE).

Value

Postprocessed metadata table with a new column of mapped age info, values.

See Also

md_postprocess(); md_preprocess()


metamaden/rmpipeline documentation built on Jan. 12, 2023, 3:20 p.m.