-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update of the news, the todolist and add of a script for Venn diagram…
… with 3 sets in the share
- Loading branch information
Marie-Laure DELIGNETTE-MULLER
committed
Apr 25, 2024
1 parent
23a79d3
commit e7c798b
Showing
4 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Try a Venn diagram with the three selections (not so convincing) | ||
# To put in the vignette ? | ||
|
||
require(VennDiagram) | ||
microarrayfilename <- system.file("extdata", "transcripto_sample.txt", package = "DRomics") | ||
(o.microarray <- microarraydata(microarrayfilename, norm.method = "quantile")) | ||
plot(o.microarray, cex.main = 0.8, col = "green") | ||
|
||
s_quad <- itemselect(o.microarray, select.method = "quadratic", FDR = 0.01) | ||
s_lin <- itemselect(o.microarray, select.method = "linear", FDR = 0.01) | ||
s_anova <- itemselect(o.microarray, select.method = "ANOVA", FDR = 0.01) | ||
index_quad <- s_quad$selectindex | ||
index_lin <- s_lin$selectindex | ||
index_anova <- s_anova$selectindex | ||
plot(c(0,0), c(1,1), type = "n", xaxt = "n", yaxt = "n", bty = "n", xlab = "", ylab = "") | ||
draw.triple.venn(area1 = length(index_quad), | ||
area2 = length(index_lin), | ||
area3 = length(index_anova), | ||
n12 = length(which(index_quad %in% index_lin)), | ||
n23 = length(which(index_anova %in% index_lin)), | ||
n13 = length(which(index_quad %in% index_anova)), | ||
n123 = length(which(index_quad %in% index_anova & | ||
index_quad %in% index_lin)), | ||
category = c("quadratic trend test", | ||
"linear trend test", | ||
"ANOVA type test"), | ||
cat.col=c("lightblue", "purple", "orange"), | ||
col= c("black", "black", "black"), | ||
fill = c("lightblue", "purple", "orange"), | ||
lty = "blank", cat.pos = c(0, 0, 0)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters