addPhenoData: Add phenotype data to object.

View source: R/functions.R

addPhenoDataR Documentation

Add phenotype data to object.

Description

This function adds phenotype data to the phenoData slot in an MRexperiment object.

Usage

addPhenoData(MRobj, phenodata = NULL)

Arguments

MRobj

An MRexperiment object.

phenodata

Phenotype data frame or file path.

Value

An updated MRexperiment object.


zoecastillo/microbiomeExplorer documentation built on Sept. 11, 2022, 7:40 a.m.