Hello,
I want to create a Venn diagram.
I am trying to use the overLapper function.
I created six CSV files with DEGs for six tissues (pollen, 1 week old bagged flowers, 1 week old unbagged flowers, recently open flowers, one month old seed capsule, three month old seed capsule).
I made lists of characters for each tissue. For some overLapper won't accept my list. I always get this error:
Error in overLapper(SetList, type = "vennsets") : Unexpected input. The input 'setlist' needs to be of class 'list' where each list component stores a label set as 'vector' and the name of each label set is provided under the name slot of each list component.
Here is my code:
BiocManager::install("systemPipeR")
library(systemPipeR)
EF <- as.character(read.csv("DEGslist_EF.csv", header = F, sep = ",")$V1)
LFB <- as.character(read.csv("DEGslist_LFB.csv", header = F, sep = ",")$V1)
LFU <- as.character(read.csv("DEGslist_LFU.csv", header = F, sep = ",")$V1)
EC <- as.character(read.csv("DEGslist_EC.csv", header = F, sep = ",")$V1)
LC <- as.character(read.csv("DEGslist_LC.csv", header = F, sep = ",")$V1)
setlist <- list(EF, LFB, LFU, EC, LC)
vennset <- overLapper(setlist, type="vennsets")
vennPlot(vennset)
Thanks!
setlist
is not the same asSetList
. What is the actual variable name?names(setlist)
?Sorry.