Description Usage Arguments Value Author(s) See Also Examples
plot_cluster_prof
creates a plot of cluster methylation profiles,
where each colour denotes a different cluster.
1 2 | plot_cluster_prof(bpr_cluster_obj,
main_lab = "Clustered methylation profiles")
|
bpr_cluster_obj |
The output of the |
main_lab |
The title of the plot |
The figure to be plotted in the device.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
plot_scatter_gex
,
plot_fitted_profiles
, boxplot_cluster_gex
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.