View source: R/fitTimeSeries.R
ts2MRexperiment | R Documentation |
With a list of fitTimeSeries results, generate an MRexperiment that can be plotted with metavizr
ts2MRexperiment(
obj,
sampleNames = NULL,
sampleDescription = "timepoints",
taxonomyLevels = NULL,
taxonomyHierarchyRoot = "bacteria",
taxonomyDescription = "taxonomy",
featuresOfInterest = NULL,
featureDataOfInterest = NULL
)
obj |
Output of fitMultipleTimeSeries |
sampleNames |
Sample names for plot |
sampleDescription |
Description of samples for plot axis label |
taxonomyLevels |
Feature names for plot |
taxonomyHierarchyRoot |
Root of feature hierarchy for MRexperiment |
taxonomyDescription |
Description of features for plot axis label |
featuresOfInterest |
The features to select from the fitMultipleTimeSeries output |
featureDataOfInterest |
featureData for the resulting MRexperiment |
MRexperiment that contains fitTimeSeries data, featureData, and phenoData
fitTimeSeries
fitMultipleTimeSeries
data(mouseData)
res = fitMultipleTimeSeries(obj=mouseData,lvl='phylum',class="status",
id="mouseID",time="relativeTime",B=1)
obj = ts2MRexperiment(res)
obj
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.