mergeSimData: Merge abundance data, feature metadata, and sample metadata
Description
Merge a simulation's abundance data, feature metadata, and sample metadata
into one data.table. This function is useful for making plots using
ggplot2.
Usage
mergeSimData(simData, features = NULL)
Value
data.table.
Arguments
simData
List with the following elements, such as returned by
simphony():
abundData
Matrix of abundance values, with rownames for features and
colnames for samples.
sampleMetadata
data.table with columns sample and cond.
featureMetadata
data.table with columns feature and cond.
features
Character vector of features for which to get abundance data.
If NULL, then all features.