Hi all,
I have the following dataset:
ï..TGEClass.known TGEClass.uknown
1 GVVEVTHDLQK GVVEVTHDLQK
2 LFYADHPFIFLVR LFYADHPFIFLVR
3 SALQSINEWAAQTTDGK SALQSINEWAAQTTDGK
4 AVLSAEQLRDEEVHAGLGELLR AVLSAEQLRDEEVHAGLGELL
I would like to calculate please the number of peptides that are present in both categories and those that are not.
I have tried to use the Venn count function from limma but that only accepts numerical values:
a <- vennCounts(c3)
a
hw hm hr Counts
[1,] 0 0 0 113
[2,] 0 0 1 18
[3,] 0 1 0 8
[4,] 0 1 1 8
[5,] 1 0 0 12
[6,] 1 0 1 8
[7,] 1 1 0 11
[8,] 1 1 1 22
How I can convert my peptide dataset like that dataset above so that I can make a Venn diagram. I have researched everywhere I can but still failed to find the solution.
I would really appreciate it if someone could help me solve this problem.
Many Thanks,
Ishack
ven diagram
peptide
venn count
r