Description Usage Arguments Value Note See Also Examples
xEnrichDotplot
is supposed to visualise enrichment results using
dot-like plot. It returns a ggplot2 object.
1 2 3 4 |
eTerm |
an object of class "eTerm" or "ls_eTerm". Alterntively, it can be a data frame having all these columns (named as 'group','name','adjp','zscore','nOverlap') |
FDR.cutoff |
FDR cutoff used to declare the significant terms. By default, it is set to 0.05 |
colors |
a 2-element vector for color-coded points. By default, it is c("pink","red"), responding to the insignificant and the significant |
y.scale |
how to transform the y scale. It can be "normal" for no transformation, and "log" for log-based transformation |
slim |
the minimum and maximum values for which sizes should be plotted |
size.range |
the range of actual node size |
size.title |
a character specifying the title for node sizing. By default it is 'Num of overlaps' |
label.top |
the number of the top terms (sorted according to adjp). Only the significant terms (see above FDR.cutoff) will be labelled |
label.direction.y |
how to align labels. It can be "none", "left" (align labels on the left edge) or "right" (align labels on the right edge). Only works for individual group |
label.size |
the size of the labellings |
... |
additional graphic parameters (such as size, color) used in ggrepel::geom_text_repel to control labels |
an object of class "ggplot"
none
1 2 3 4 5 6 7 8 | ## Not run:
# Load the XGR package and specify the location of built-in data
library(XGR)
RData.location <- "http://galahad.well.ox.ac.uk/bigdata/"
gp <- xEnrichDotplot(eTerm, label.top=10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.