View source: R/bubbleplot_pwys.R
bubbleplot_pwys | R Documentation |
Make bubble plots like clusterProfiler showing the significance, proportion of genes with p-value below 0.05, and counts per comparison per pathway. These are called "bubble plots" instead of "dot plots" because they represent the counts as an additional dimension of numerical (i.e. non-factor) data.
bubbleplot_pwys(
tab,
prefix.v = NULL,
name = NA,
type.sig = c("p", "FDR"),
cut.sig = 0.05,
ntop = 20,
pwys_nm_size = 100,
width = 8,
height = 8,
caption = TRUE,
mixed = c("include", "exclude", "only")
)
tab |
Table of output from |
prefix.v |
A vector of prefixes that prefix |
name |
Name of file to create. Set to |
type.sig |
Either "p" or "FDR"; type of significance to show. |
cut.sig |
Numeric in [0, 1]. Pathways need to have significance of type |
ntop |
Integer; number of top pathways to show. |
pwys_nm_size |
The maximum number of characters for pathway names. Longer names will be truncated. |
width |
Manual option for determining the output file width in inches. |
height |
Manual option for determining the output file height in inches. |
caption |
Logical; should the caption explaining the x-axis be included? |
mixed |
Character string. Should mixed statistics be included, should they be the only statistics included, or should they be excluded? |
Invisibly, a list of ggplot objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.