Description Usage Arguments Details Value Examples
Calculate the optimal B-spline model using generalized cross-validation
1 2 3 4 | calculateGCV(object, topcomp = 5)
## S4 method for signature 'Rnits'
calculateGCV(object, topcomp = 5)
|
object |
|
topcomp |
The number of top eigenvectors to be used for computation |
The optimal B-spline model is chosen as the largest model that minimizes the cross validation error of the top N eigenvectors of each time series data.
A list object with fields 'degree', 'df' for each time series data set.
1 2 3 4 5 6 7 8 | # load pre-compiled expressionSet object for Ronen and Botstein yeast chemostat data
data(yeastchemostat)
rnitsobj = build.Rnits(yeastchemostat, logscale = TRUE, normmethod = 'Between')
opt_model <- calculateGCV(rnitsobj)
## Not run:
rnitsobj <- fit(rnitsobj, gene.level = TRUE, model = opt.model)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.