boxplot_cluster_gex: Boxplot of clustered expression levels

Description Usage Arguments Value Author(s) See Also Examples

Description

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

1
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

plot_cluster_prof, plot_scatter_gex, plot_fitted_profiles

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

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