addPhenoDataDS: Add Phenotype data to ExpressionSet

View source: R/addPhenoDataDS.R

addPhenoDataDSR Documentation

Add Phenotype data to ExpressionSet

Description

Add Phenotype data to ExpressionSet

Usage

addPhenoDataDS(x, pheno, identifier, alternate_eset_id, complete_cases)

Arguments

x

ExpressionSet ExpressionSet to which add phenotype information

pheno

data.frame Table with the new phenotypes

identifier

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

alternate_eset_id

character Alternate ID of the eSet pheno data, by default the rownames of the eSet pheno data act as ID, use this argument if the ID to merge the individuals is on a column of the pheno data. Input NULL for the standard behaviour of using the rownames of the pheno data as ID.

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


isglobal-brge/dsOmics documentation built on Nov. 11, 2024, 4:18 a.m.