Description Usage Arguments Value Examples
Compute the overlaps of up to 26 sets in a list.
Similar to vennCounts
from the limma
package.
1 | count_venn(l)
|
l |
|
Returns a numeric matrix
with 2^length(l)
rows and
length(l) + 2
columns. Each row corresponds to the overlap of a particular
combination of sets. The first length(l)
columns correspond to each set and
contain 1 or 0 indicating membership or not in each set. The second last
column called count
gives the sum of each row and the last column percent
is the the value of count
for each row, divided by sum of the count
column multiplied by 100.
1 2 3 4 5 6 7 | lst <- list(
set1 = c(1:3),
set2 = c(3:20),
set3 = c(1, 20:66)
)
count_venn(lst)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.