mergeMeasMeta | R Documentation |
This function is useful for plotting time-courses for individual features.
mergeMeasMeta(y, metadata, features = NULL, sampleColname = "sample")
y |
Matrix-like object of measurements, with rows corresponding to features and columns to samples. |
metadata |
data.frame containing experimental design information for
each sample. Rows of |
features |
Vector of names, row numbers, or logical values for
subsetting the features. |
sampleColname |
String indicating the column in |
A data.table
with one row for each sample-feature pair.
getExpectedMeas()
library('data.table')
y = GSE34018$y
metadata = GSE34018$metadata
fit = getModelFit(y, metadata)
fit = getPosteriorFit(fit)
measObs = mergeMeasMeta(y, metadata, features = c('13170', '12686'))
measFitMean = getExpectedMeas(
fit, times = seq(0, 24, 0.5), features = c('13170', '12686'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.