fit | R Documentation |
Fit a model comparing time series data set Rnits
objects
fit(object, cluster = TRUE, B = 100, verbatim = FALSE, nclus = NULL, modelhistplot = FALSE, seed = 123, gene.level = TRUE, clusterallsamples = FALSE, model = NULL) ## S4 method for signature 'Rnits' fit(object, cluster = TRUE, B = 100, verbatim = FALSE, nclus = NULL, modelhistplot = FALSE, seed = 123, gene.level = TRUE, clusterallsamples = FALSE, model = NULL)
object |
|
cluster |
if |
B |
Default |
verbatim |
If |
nclus |
Default |
modelhistplot |
If |
seed |
Random seed for bootstrap iterations |
gene.level |
If |
clusterallsamples |
If |
model |
A data frame with fields 'degree' and 'df' indicating a specific B-spline model to be used. If provided, model selection is not run. |
The function compares multiple time-series expression data sets by i) (optional)
summarizing probes into gene-level information ii) (optional) identifying a set
of co-expressed genes by clustering iii) For each cluster (or for all genes
/probes), fit a series of B-splines with varying curvature and degrees of
freedom. Under the null hypothesis H_0
, a single model is fit for
all data sets, while under H_1
, each data set is fit separately.
P-values from the hypothesis test are then plotted and the least complex
spline parameters that result in uniformly distributed null p-values are
automatically chosen.
An object of S4 class Rnits
with fitted results
data containing cluster information, ratio statistics and p-values.
# load pre-compiled expressionSet object for Ronen and Botstein yeast chemostat data data(yeastchemostat) rnitsobj = build.Rnits(yeastchemostat, logscale = TRUE, normmethod = 'Between') ## Not run: # Fit model using gene-level summarization rnitsobj <- fit(rnitsobj, gene.level = TRUE, clusterallsamples = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.