jsonOverlaps: Data frame to overlaps json

Description Usage Arguments Author(s) Examples

Description

Creates a json file representing overlaps from a data frame. This json will work with D3 Venn

Usage

1
jsonOverlaps(data, overlaps = 2)

Arguments

data

A data frame to be converted to json. The first column should represent the item, and the second column should represent the group it belongs to

overlaps

The degree of overlaps to be considered. Defaults to the total number of groups

Author(s)

James Thomson

Examples

1
2
data(browsers)
JSON<-jsonOverlaps(browsers, overlaps = 4)

jamesthomson/R2D3 documentation built on May 18, 2019, 11:21 a.m.