Chapter 2 Data Import
The first key step in using Venndir is to import data in a recognized format. There are several formats available:
- List of sets, referred to as a
setlist
- a
list
ofcharacter
item vectors. - sets are represented by
names(setlist)
- a
- List of signed sets, referred to as a signed
setlist
- a
list
of signednumeric
vectors. - signed vectors use values
-1
or1
, and store items innames()
. - sets are represented by
names(setlist)
- a
- Incidence matrix
- a
numeric
matrix with items asrownames()
, sets ascolnames()
. - items are indicated by the value
1
in the appropriate row and column.
- a
- Signed incidence matrix
- a
numeric
matrix with items asrownames()
, sets ascolnames()
. - items are indicated by
-1
or1
in the appropriate row and column.
- a
- Overlap counts
- a
numeric
vector with the number of items in each overlap. - the overlap name is stored in
names()
, in format:'A'
,'B'
,'A&B'
.
- a
- Signed overlap counts
- a
list
ofnumeric
vectors, named by overlap set. - each overlap is also a
list
named by the directionality.
- a
- Other formats
- Specialized formats