Description Usage Arguments Value Author(s) See Also Examples
View source: R/deprecated_functions.R
(DEPRECATED) plot_fitted_profiles
is a simple function
for plotting the methylation data across a give region, together with the
fit of the methylation profiles.
1 2 3 4 5 6 7 8 | old_plot_fitted_profiles(
region,
X,
fit_prof,
fit_mean = NULL,
title = "Gene promoter",
...
)
|
region |
Promoter region number |
X |
Methylation data observations |
fit_prof |
Fitted profile |
fit_mean |
Fitted mean function |
title |
Title of the plot |
... |
Additional parameters |
The figure to be plotted in the device.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
1 2 3 4 5 6 7 8 9 | # Fit methylation profiles using 3 RBFs
obs <- meth_data
y <- gex_data
basis <- create_rbf_object(M = 3)
out <- bpr_predict_wrap(x = obs, y = y, basis = basis,
is_parallel = FALSE, opt_itnmax = 5)
# Create the plot
old_plot_fitted_profiles(region = 16, X = meth_data, fit_prof = out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.