appendvar: Append mapped terms to a metadata variable

View source: R/utilities.R

appendvarR Documentation

Append mapped terms to a metadata variable

Description

Appends new variable data to a metadata variable, preserving current variable terms.

Usage

appendvar(var, val, filtv, m = mdpost)

Arguments

var

Variable in m for which to append new terms.

val

Character string to append to matched samples.

filtv

Vector of boolean values identifying samples for which to append the new term.

m

The postprocessed metadata for which to append the new terms (data.frame, mdpost).

Value

The result of appending new terms to specified var.

See Also

get_filt, get_pstr_neg, get_pstr


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