plot_cluster_prof: Plot of clustered methylation profiles

Description Usage Arguments Value Author(s) See Also Examples

Description

plot_cluster_prof creates a plot of cluster methylation profiles, where each colour denotes a different cluster.

Usage

1
2
plot_cluster_prof(bpr_cluster_obj,
  main_lab = "Clustered methylation profiles")

Arguments

bpr_cluster_obj

The output of the bpr_cluster_wrap function.

main_lab

The title of the plot

Value

The figure to be plotted in the device.

Author(s)

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

See Also

plot_scatter_gex, plot_fitted_profiles, boxplot_cluster_gex

Examples

1
2
3
4
5
6
7
8
# Cluster methylation profiles using 4 RBFs
obs <- meth_data
basis <- create_rbf_object(M = 4)
res   <- bpr_cluster_wrap(x = obs, K = 3, em_max_iter = 5, opt_itnmax = 4,
                          init_opt_itnmax = 5, is_parallel = FALSE)

# Create the plot
plot_cluster_prof(bpr_cluster_obj = res)

andreaskapou/BPRMeth-devel documentation built on May 12, 2019, 3:32 a.m.