Description Usage Arguments Value See Also Examples
Plots a Venn Diagram of up to three binary hit vectors.
1 |
header |
the header of a dataset file generated with |
listOfCols |
a list of binary hit vectors to compare |
listOfNames |
a list of character strings for the annotation of the Venn Diagram |
plotTitle |
the plot title |
showPlot |
0 or 1. 1 will open one or several plot windows in the R GUI, 0 will only save the plot(s) without opening windows |
The plot is saved in a pdf and a png file named after the experiment name specified in the header concatenated with the plotTitle
.
The function returns the plot name.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | data(exampleHeader, package="RNAither")
data(pValVec1, package="RNAither")
data(pValVec2, package="RNAither")
data(scoredDataset1, package="RNAither")
data(scoredDataset2, package="RNAither")
##for details on the generation of pValVec and scoredDataset,
##see the examples of the functions Ttest and MannWhitney linked above.
scoredHits1 <- hitselectionPval(scoredDataset1, pValVec1, "SigIntensity", "pValue.ttest_l", 0.05,
"GeneName", "pvalue_testfile1.txt")
scoredHits2 <- hitselectionPval(scoredDataset2, pValVec2, "SigIntensity", "pValue.mannwhitney_l", 0.05,
"GeneName", "pvalue_testfile2.txt")
hitvector1 <- scoredHits1[[2]]
hitvector2 <- scoredHits2[[2]]
plot_name <- vennDiag(header, list(hitvector1, hitvector2), list("t test", "Mann-Whitney test"),
"Venn diagram", 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.