addPhenoData2ExposomeSetDS: Add Phenotype data to ExposomeSet

View source: R/addPhenoData2ExposomeSetDS.R

addPhenoData2ExposomeSetDSR Documentation

Add Phenotype data to ExposomeSet

Description

Add phenotype data to an ExpressionSet

Usage

addPhenoData2ExposomeSetDS(
  x,
  pheno,
  identifier_ExposomeSet,
  identifier_new_phenotypes,
  complete_cases
)

Arguments

x

ExposomeSet ExposomeSet to which add phenotype information

pheno

data.frame Table with the new phenotypes

identifier_ExposomeSet

character Name of the ID column on the already present phenotypes data.frame on the ExposomeSet

identifier_new_phenotypes

character Name of the ID column on the new phenotypes data.frame

complete_cases

bool If TRUE only the matching individuals between the ExpressionSet and the phenotypes table will be included on the resulting ExpressionSet. If FALSE all the individuals on the input ExpressionSet will be on the output ExpressionSet

Value

ExposomeSet with updated phenotypes information


isglobal-brge/dsExposome documentation built on Feb. 20, 2023, 11:19 a.m.