View source: R/splicewiz_wrappers.R
plot_deASE_venn | R Documentation |
Plot a venn diagram for diff ASE (using event names or gene names) between multiple comparison.
plot_deASE_venn(
x,
sample_comparisons,
regulation = "both",
fill_color = NULL,
event_type = NULL,
ovelap_genes = TRUE,
...
)
x |
an abject of class "parcutils_ase". This is an output of the function |
sample_comparisons |
a character vector denoting sample comparisons for which ASE to be obtained. |
regulation |
a character string, default |
fill_color |
an argument pass to the function ggvenn::ggvenn. |
event_type |
a character string denoting event type for which one of the |
ovelap_genes |
logical, default |
... |
other arguments pass to the function ggvenn::ggvenn |
a venn diagram
se <- SpliceWiz::SpliceWiz_example_NxtSE(novelSplicing = TRUE)
SpliceWiz::colData(se)$treatment <- rep(c("A", "B"), each = 3)
SpliceWiz::colData(se)$replicate <- rep(c("P","Q","R"), 2)
res <- run_ase_diff_analysis(x = se, test_factor = "replicate", test_nom = c("P","Q","R") ,test_denom = c("Q","R","P"), IRmode ="annotated", cutoff_lfc = 0.6, cutoff_pval = 1, regul_based_upon = 1)
plot_deASE_venn(x = res, sample_comparisons = c("P_VS_Q","Q_VS_R","R_VS_P"), event_type = "SE", regulation = "both", ovelap_genes = TRUE)
plot_deASE_venn(x = res, sample_comparisons = c("P_VS_Q","Q_VS_R","R_VS_P"), event_type = "SE", regulation = "up", ovelap_genes = TRUE)
plot_deASE_venn(x = res, sample_comparisons = c("P_VS_Q","Q_VS_R","R_VS_P"), event_type = "A3SS", regulation = "both", ovelap_genes = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.