INTERSECTset-class | R Documentation |

`"INTERSECTset"`

Container for storing standard intersect results created by the `overLapper`

function.
The `setlist`

slot stores the original label sets as `vectors`

in a `list`

;
`intersectmatrix`

organizes the label sets in a present-absent matrix; `complexitylevels`

represents the number of comparisons considered for each comparison set as vector of integers;
and `intersectlist`

contains the standard intersect vectors.

Objects can be created by calls of the form `new("INTERSECTset", ...)`

.

`setlist`

:Object of class

`"list"`

:`list`

of`vectors`

`intersectmatrix`

:Object of class

`"matrix"`

: binary`matrix`

`complexitylevels`

:Object of class

`"integer"`

:`vector`

of`integers`

`intersectlist`

:Object of class

`"list"`

:`list`

of`vectors`

- as.list
`signature(x = "INTERSECTset")`

: coerces`INTERSECTset`

to`list`

- coerce
`signature(from = "list", to = "INTERSECTset")`

:`as(list, "INTERSECTset")`

- complexitylevels
`signature(x = "INTERSECTset")`

: extracts data from`complexitylevels`

slot- intersectlist
`signature(x = "INTERSECTset")`

: extracts data from`intersectlist`

slot- intersectmatrix
`signature(x = "INTERSECTset")`

: extracts data from`intersectmatrix`

slot- length
`signature(x = "INTERSECTset")`

: returns number of original label sets- names
`signature(x = "INTERSECTset")`

: extracts slot names- setlist
`signature(x = "INTERSECTset")`

: extracts data from`setlist`

slot- show
`signature(object = "INTERSECTset")`

: summary view of`INTERSECTset`

objects

Thomas Girke

`overLapper`

, `vennPlot`

, `olBarplot`

, `VENNset-class`

showClass("INTERSECTset") ## Sample data setlist <- list(A=sample(letters, 18), B=sample(letters, 16), C=sample(letters, 20), D=sample(letters, 22), E=sample(letters, 18), F=sample(letters, 22)) ## Create VENNset interset <- overLapper(setlist[1:5], type="intersects") class(interset) ## Accessor methods for VENNset/INTERSECTset objects names(interset) setlist(interset) intersectmatrix(interset) complexitylevels(interset) intersectlist(interset) ## Coerce VENNset/INTERSECTset object to list as.list(interset)

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.