Description Usage Arguments Value Examples
Draw a dotplot of p-values using a htmlwidget
1 2 | interactivePvalplot(scores, gsetlabels, Coi, width = NULL,
height = NULL)
|
scores |
Dataframe as returned by |
gsetlabels |
Names of the gene sets, used for hovering |
Coi |
Names of the three biological conditions, only used for labelling |
width |
Width of the plot |
height |
Height of the plot |
A htmlwidget object, which can be exported to an svg using saveWidget
1 2 3 4 5 6 7 8 9 10 | 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])
## Not run:
interactivePvalplot(scores, as.list(setNames(names(gsets), names(gsets))), 1:3)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.