Description Usage Arguments Value References Examples
View source: R/MethylCalCorrection.R
Correction of case/controls samples using MethylCal calibration
1 2 3 |
data |
Formatted input data frame obtained from the function
|
Target |
Name of the target DMR/CpG island/gene to be visualised. |
prior |
Prior distribution set-up for the random effects and the Latent Gaussian Field (Rue et al., 2009). Three different priors are implemented:
|
n_Control |
Number of controls samples. |
n_Case |
Number of case samples. |
level_Control |
Level of significance of the differential
methylation test between case and control corrected samples. Default
value is |
opt_BoxPlot |
Boxplot option: If |
dir |
In Unix-specific OS, user-specified directory where the
plots in |
printing |
If |
plotting |
If |
cex_par |
Number indicating the amount by which plotting text
and symbols should be scaled relative to the default ( |
This function returns the corrected methylation level for
the control and (if selected) case samples using MethylCal calibration.
Based a parametric t-test at (1-level_Control)
%, hyper- and
hypo-methylated cases are also flagged.
In Unix-specific OS, figures are saved in the current directory,
unless otherwise specified by the user, in pdf
format.
In Windows OS, figures are printed on the screen.
Ochoa E, Zuber V, Fernandez-Jimenez N, Bilbao JR, Clark GR, Maher ER and Bottolo L. MethylCal: Bayesian calibration of methylation levels. Submitted. 2019.
Wang X, Ryan YY, Faraway JJ. Bayesian Regression Modeling with INLA. 2018, 1st edition. Chapman and Hall/CRC.
Simpson S, Rue H, Riebler A, Martins TG, Sorbye SH. Penalising model component complexity: A principled, practical approach to constructing priors. Statist Sci. 2017; 1:1-28. (doi)
Rue H, Martino S, Chopin N. Approximate Bayesian inference for latent Gaussian models by using integrated nested Laplace approximations. J Roy Stat Soc B Met. 2009; 71(2):319-392. (doi)
1 2 3 4 5 6 7 8 9 10 | data(BWS_data)
AMP = c(0, 25, 50, 75, 100)
data = Formatting(BWS_data, AMP = AMP, n_Control = 15)
corr_data = MethylCalCorrection(data, Target = "KCNQ1OT1", n_Control = 15)
data(Celiac_data)
AMP = c(0, 12.5, 25, 37.5, 50, 62.5, 87.5, 100)
data = Formatting(Celiac_data, AMP = AMP, n_Control = 13, n_Case = (2 * 17))
corr_data = MethylCalCorrection(data, Target = "NFKBIA", n_Control = 13, n_Case = (2 * 17),
opt_BoxPlot = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.