Skip to main content

Table 2 Available input formats

From: jvenn: an interactive Venn diagram viewer

Format Example
  series: [{
  name: ’sample1’,
  data: [~Otu1~, ~Otu2~, ~Otu3~, ~Otu4~, ~Otu5~, ~Otu6~, ~Otu7~]
Lists }, {
  name: ’sample2’,
  data: [~Otu1~, ~Otu2~, ~Otu5~, ~Otu7~, ~Otu8~, ~Otu9~]
  }]
  series: [{
  name: {A: ’sample 1’, B: ’sample 2’},
Intersection counts data: {A: [~Otu3~, ~Otu4~, ~Otu6~], B: [~Otu8~, ~Otu9~], AB: [~Otu1~,
  ~Otu2~, ~Otu5~, ~Otu7~]} }],
  values: {A: 3, B: 2, AB: 4}
  series: [{
  name: ’sample1’,
  data: [~Otu1~, ~Otu2~, ~Otu3~, ~Otu4~, ~Otu5~, ~Otu6~, ~Otu7~],
  values: [5, 15, 250, 20, 23, 58, 89]
Count lists }, {
  name: ’sample2’,
  data: [~Otu1~, ~Otu2~, ~Otu5~, ~Otu7~, ~Otu8~, ~Otu9~],
  values: [90, 300, 10, 2, 45, 9]
  }]