old_boxplot_cluster_gex {BPRMeth} | R Documentation

## (DEPRECATED) Boxplot of clustered expression levels

### Description

(DEPRECATED) `boxplot_cluster_gex` creates a boxplot of clustered gene expression levels which depend on the clustered methylation profiles. Each colour denotes a different cluster.

### Usage

    old_boxplot_cluster_gex(
      bpr_cluster_obj,
      gex,
      main_lab = "Gene expression levels"
    )

### Arguments

`bpr_cluster_obj` | The output of the `bpr_cluster_wrap` function.
`gex` | The vector of gene expression data for each promoter region.
`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_cluster_prof`, `old_plot_fitted_profiles`

### 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_boxplot_cluster_gex(bpr_cluster_obj = res, gex = gex_data)

[Package BPRMeth version 1.14.1 Index]