Skip to contents

This function adds missing phenotypes to samples based on information from a metadata table.

Usage

add_missing_phenotypes(
  mt,
  all_samples_info,
  skip_descr = FALSE,
  skip_mat = FALSE
)

Arguments

mt

A data frame containing the samples.

all_samples_info

A data frame containing information of missing phenotypes.

skip_descr

Logical indicating whether to skip adding Sample.Description (default is FALSE).

skip_mat

Logical indicating whether to skip adding Material (default is FALSE).

Value

The data frame with missing phenotypes added.