Merge gene expression data from multiple studies, keeping only genes measured
in each dataset, then optionally perform cross-study normalization using
sva::ComBat()
.
mergeStudyData( ematList, sampleMetadata, batchColname = "study", covariateName = NA, batchCorrection = TRUE, parPrior = TRUE )
ematList | list of expression matrices. |
---|---|
sampleMetadata | data.frame for sample metadata. |
batchColname | column in sampleMetadata containing batch information for ComBat. |
covariateName | column in sampleMetadata containing additional covariates for ComBat besides batch. |
batchCorrection |
|
parPrior | passed to ComBat's |
A matrix of expression for genes by samples.