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

Description Usage Arguments Value See Also Examples

View source: R/loadPhenoData.R

Description

Load a matrix of metadata associated with a study.

Usage

1
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

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

metagenomeSeq documentation built on Dec. 13, 2017, 2:02 a.m.