interactivePvalplot: Interactive plot of p-values

Description Usage Arguments Value Examples

Description

Draw a dotplot of p-values using a htmlwidget

Usage

1
2
interactivePvalplot(scores, gsetlabels, Coi, width = NULL,
  height = NULL)

Arguments

scores

Dataframe as returned by testUnidirectionality containing for every gene set a q-value and an associated angle

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

Value

A htmlwidget object, which can be exported to an svg using saveWidget

Examples

 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)

saeyslab/triwise documentation built on May 29, 2019, 12:56 p.m.