loadPhenoData: Load a clinical/phenotypic dataset associated with a study.

View source: R/loadPhenoData.R

loadPhenoDataR Documentation

Load a clinical/phenotypic dataset associated with a study.

Description

Load a matrix of metadata associated with a study.

Usage

loadPhenoData(file, tran = TRUE, sep = "\t")

Arguments

file

Path and filename of the actual clinical file.

tran

Boolean. If the covariates are along the columns and samples along the rows, then tran should equal TRUE.

sep

The separator for the file.

Value

The metadata as a dataframe.

See Also

loadMeta

Examples


dataDirectory <- system.file("extdata", package="metagenomeSeq")
clin = loadPhenoData(file.path(dataDirectory,"CHK_clinical.csv"),tran=TRUE)


HCBravoLab/metagenomeSeq documentation built on March 17, 2024, 3:21 p.m.