loadPhenoData {metagenomeSeq} | R Documentation |
Load a matrix of metadata associated with a study.
loadPhenoData(file, tran = TRUE, sep = "\t")
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. |
The metadata as a dataframe.
dataDirectory <- system.file("extdata", package="metagenomeSeq") clin = loadPhenoData(file.path(dataDirectory,"CHK_clinical.csv"),tran=TRUE)