plot.NES | R Documentation |
Plotting of a bar plot indicating the Normalized Enrichment Score (NES) of a gsea result. Bars will have different colors by positive or negative enrichment and transparency proportional to their p-value.
## S3 method for class 'NES'
plot(
gsea.object,
pos.NES.label = "+NES",
neg.NES.label = "-NES",
pos.NES.color = "steelblue",
neg.NES.color = "orange",
string.pattern.to.remove = "HALLMARK|GOBP",
alpha.range = c(0.3, 1),
add.counts = TRUE,
perc.bleeding.x = 8,
axes.text.size = 10,
title = "NES enrichments"
)
gsea.object |
A |
pos.NES.label |
String for the label of sets enriched in the group with positive ranking feature scores. Default: |
neg.NES.label |
String for the label of sets enriched in the group with negative ranking feature scores. Default: |
pos.NES.color |
String for the color of sets enriched in the group with positive ranking feature scores. Default: |
neg.NES.color |
String for the color of sets enriched in the group with negative ranking feature scores. Default: |
string.pattern.to.remove |
String with a regular expression of a pattern to be removed from the set names. Default: |
alpha.range |
Numeric vector of length 2 indicating minimum and maximum value for the transparency. Individual values must be a number between 0 and 1. Default: |
add.counts |
Logic value to indicate whether add labels with the set size counts. Default: |
perc.bleeding.x |
Numeric value indicating the percentage of the full x.axis range to add on the left on the right. Useful when labels are falling outside for the x-max. Default: |
axes.text.size |
Numeric value indicating the font size of the axis text. Default: |
title |
String indicating the title of the plot. Default: |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.