enrichPlot | R Documentation |
Plots the results of an miRNA enrichment analysis
enrichPlot(
res,
enr.field = c("enrichment", "normalizedEnrichment", "beta", "coefficient",
"combined.coef"),
size.field = c("overlap", "set_size"),
col.field = NULL,
sig.field = "FDR",
max.sig.thres = 100,
min.enr.thres = NULL,
label.sig.thres = 0.05,
label.enr.thres = 0,
label.field = NULL,
maxLabels = 10,
opacity = 0.5,
repel = TRUE
)
res |
The results of an enrichment analysis, as obtained by the 'getResults' function. |
enr.field |
The column determining the x axis. |
size.field |
The column determining the size of the circles. |
col.field |
The column determining the color of the circles. |
sig.field |
The column to use as significance or y axis (default 'FDR'). |
max.sig.thres |
The maximum FDR below which to plot. Alternatively, if a number > 1, indicates the number of top points to plot. |
min.enr.thres |
The minumum (absolute) fold-enrichment above which to plot. |
label.sig.thres |
The FDR threshold above which to plot the names of the enriched sets (default 0.05). |
label.enr.thres |
The (absolute) enrichment threshold above which to plot the names of the enriched sets. |
label.field |
The field to use as labels (defaults to row.names) |
maxLabels |
The maximum number of labels to plot (default 10). |
opacity |
The opacity of the bubbles, ranging from 0 to 1 (default 0.5). |
repel |
Logical; whether to plot labels with 'ggrepel'. This is the default behaviour, but should be turned off if you plan to pass the result to 'ggplotly'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.