Description Usage Arguments Value Author(s) See Also Examples
View source: R/plotting_functions.R
plot_predicted_expr
creates a scatter plot of predicted
gene expression values on the x-axis versus the measured gene expression
values on the y-axis.
1 2 3 4 5 | plot_predicted_expr(
pred_obj,
title = "Predicted expression",
is_margins = FALSE
)
|
pred_obj |
The output of the |
title |
The title of the plot. |
is_margins |
Use specified margins or not. |
A ggplot2 object.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
plot_infer_profiles
,
plot_cluster_profiles
, boxplot_cluster_expr
1 2 3 4 5 6 7 8 9 | # Fit methylation profiles using 5 RBFs
basis <- create_rbf_object(M = 5)
prof <- infer_profiles_vb(X = encode_met$met, model = "binomial",
basis = basis, is_parallel = FALSE, vb_max_iter = 5)
# Predict expression
pred_obj <- predict_expr(prof_obj = prof, expr = encode_expr,
anno = encode_met$anno, model_name = "lm", is_summary = FALSE)
# Create plot
g <- plot_predicted_expr(pred_obj = pred_obj)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.