old_plot_cluster_prof {BPRMeth} | R Documentation

## (DEPRECATED) Plot of clustered methylation profiles

### Description

(DEPRECATED) `plot_cluster_prof` creates a plot of cluster methylation profiles, where each colour denotes a different cluster.

### Usage

    old_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

`old_plot_fitted_profiles`, `old_boxplot_cluster_gex`

### Examples

    # 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 = 2, opt_itnmax = 3,
                              init_opt_itnmax = 2, is_parallel = FALSE)

    # Create the plot
    old_plot_cluster_prof(bpr_cluster_obj = res)

[Package BPRMeth version 1.18.0 Index]