MicrobiotaProcess
MicrobiotaProcess copied to clipboard
Write vennlist table
Hi,
I have run the following function:
library(MicrobiotaProcess) vennlist <- get_vennlist(phy_merge, factorNames="Matrix")
And it creates a list of shared OTUs between two matrices. That's perfect to build the Venn Diagram.
However, I would like to know the identity of the shared OTUs. Is there a way to do retrieve that kind of data?
Thanks!
Pablo
Since vennlist is a list object, you can use the following code to retrieve the shared OTUs.
shareotus <- Reduce(intersect, yourvennlist)