old_plot_fitted_profiles: (DEPRECATED) Plot the fit of methylation profiles across a...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/deprecated_functions.R

Description

(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.

Usage

1
2
3
4
5
6
7
8
old_plot_fitted_profiles(
  region,
  X,
  fit_prof,
  fit_mean = NULL,
  title = "Gene promoter",
  ...
)

Arguments

region

Promoter region number

X

Methylation data observations

fit_prof

Fitted profile

fit_mean

Fitted mean function

title

Title of the plot

...

Additional parameters

Value

The figure to be plotted in the device.

Author(s)

C.A.Kapourani C.A.Kapourani@ed.ac.uk

See Also

old_plot_cluster_prof

Examples

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)

BPRMeth documentation built on Nov. 8, 2020, 5:54 p.m.