scmet_plot_volcano  R Documentation 
Function showing volcano plots for differential analysis. The
posterior tail probabilities are ploteted on the yaxis, and depending on
the differential test to plot the effect size will be plotted on the
xaxis. For differential variability (DV) analysis we recommend using the
epsilon
parameter.
scmet_plot_volcano( diff_obj, task = "diff_epsilon", xlab = NULL, ylab = "Posterior tail probability", title = NULL, nfeatures = NULL )
diff_obj 
The differential scMET object after calling the

task 
The differential test to plot. For differential mean methylation:

xlab 
Optional xaxis label. 
ylab 
Optional yaxis label. 
title 
Optional title, default NULL. 
nfeatures 
Optional parameter, denoting a subset of number of features to plot (only for nondifferential features). Mostly to reduce overplotting. 
A ggplot2 object.
C.A.Kapourani C.A.Kapourani@ed.ac.uk
scmet
, scmet_differential
,
scmet_hvf_lvf
, scmet_plot_mean_var
,
scmet_plot_vf_tail_prob
,
scmet_plot_efdr_efnr_grid
, scmet_plot_ma
## Not run: # Fit scMET for each group fit_A < scmet(Y = scmet_diff_dt$scmet_dt_A$Y, X = scmet_diff_dt$scmet_dt_A$X, L = 4, iter = 100, seed = 12) fit_B < scmet(Y = scmet_diff_dt$scmet_dt_B$Y, X = scmet_diff_dt$scmet_dt_B$X, L = 4, iter = 100, seed = 12) # Run differential test diff_obj < scmet_differential(obj_A = fit_A, obj_B = fit_B) # Create volcano plot scmet_plot_volcano(diff_obj, task = "diff_epsilon") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.