plot_scatter_gex: Scatter plot of predicted vs measured gene expression levels

Description Usage Arguments Value Author(s) See Also Examples

Description

plot_scatter_gex creates a scatter plot of predicted gene expression values on the x-axis versus the measured gene expression values on the y-axis.

Usage

1
2
plot_scatter_gex(bpr_predict_obj, main_lab = "Methylation Profile",
  is_margins = TRUE)

Arguments

bpr_predict_obj

The output of the bpr_predict_wrap function.

main_lab

The title of the plot

is_margins

Use specific margins or not.

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_fitted_profiles, boxplot_cluster_gex

Examples

1
2
3
4
5
6
7
8
9
# Fit methylation profiles using 8 RBFs
obs <- meth_data
y   <- gex_data
basis <- create_rbf_object(M = 8)
res   <- bpr_predict_wrap(x = obs, y = y, basis = basis,
                          is_parallel = FALSE, opt_itnmax = 10)

# Create the scatter plot
plot_scatter_gex(bpr_predict_obj = res)

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