Description Usage Arguments Value See Also Examples
Plot -log10(p-values)
of the results obtained after multiple group
independence testing
1 2 3 4 5 6 7 8 9 | plotGroupIndependence(
groups,
top = 50,
textSize = 10,
colourLow = "lightgrey",
colourMid = "blue",
colourHigh = "orange",
colourMidpoint = 150
)
|
groups |
|
top |
Integer: number of attributes to render |
textSize |
Integer: size of the text |
colourLow |
Character: name or HEX code of colour for lower values |
colourMid |
Character: name or HEX code of colour for middle values |
colourHigh |
Character: name or HEX code of colour for higher values |
colourMidpoint |
Numeric: midpoint to identify middle values |
ggplot
object
parseCategoricalGroups()
and
testGroupIndependence()
Other functions for data grouping:
createGroupByAttribute()
,
getGeneList()
,
getSampleFromSubject()
,
getSubjectFromSample()
,
groupPerElem()
,
testGroupIndependence()
1 2 3 4 5 6 7 8 9 | elements <- paste("subjects", 1:50)
ref <- elements[10:50]
groups <- list(race=list(asian=elements[1:3],
white=elements[4:7],
black=elements[8:10]),
region=list(european=elements[c(4, 5, 9)],
african=elements[c(6:8, 10:50)]))
groupTesting <- testGroupIndependence(ref, groups, elements)
plotGroupIndependence(groupTesting)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.