View source: R/binomRegMethModelPred.R
binomRegMethModelPred | R Documentation |
This function returns the predicted methylation levels
binomRegMethModelPred( BEM.obj, newdata = NULL, type = "proportion", verbose = TRUE )
BEM.obj |
an output from the function |
newdata |
the data set whose predictions are calculated; with columns 'Position', covariate names matching the BEM.obj |
type |
return the predicted methylation proportion or the predicted response (in logit or other binom.link scale) |
verbose |
logical indicates if the algorithm should provide progress report information. The default value is TRUE. |
This function returns the predicted methylation levels
Kaiqiong Zhao
#------------------------------------------------------------# data(RAdat) RAdat.f <- na.omit(RAdat[RAdat$Total_Counts != 0, ]) out <- binomRegMethModel( data=RAdat.f, n.k=rep(5, 3), p0=0.003307034, p1=0.9, epsilon=10^(-6), epsilon.lambda=10^(-3), maxStep=200, Quasi = FALSE, RanEff = FALSE ) binomRegMethModelPred(out)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.