Description Usage Arguments Value Examples
Plots each enriched gene set as a dot on a dotplot
1 2 | plotPvalplot(scores, Coi = c("", "", ""), colorby = NULL,
showlabels = TRUE, baseangle = 0)
|
scores |
Dataframe as returned by |
Coi |
Names of the three biological conditions, only used for labelling |
colorby |
Column in 'scores' used for coloring |
showlabels |
Whether to show labels on the grid |
baseangle |
The angle by which to rotate the whole plot (default to '0') |
A ggplot2 plot, which can be used for further customization
1 2 3 4 5 6 7 8 | Eoi = matrix(rnorm(1000*3, sd=0.5), 1000, 3, dimnames=list(1:1000, c(1,2,3)))
Eoi[1:100,1] = Eoi[1:100,1] + 4 # the first 100 genes are more upregulated in the first condition
barycoords = transformBarycentric(Eoi)
gsets = list(a=1:50, b=80:150, c=200:500)
scores = testUnidirectionality(barycoords, gsets, Gdiffexp=(1:1000)[barycoords$r > 1])
plotPvalplot(scores)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.