occurences {MotIV} | R Documentation

## Motifs Occurences and Co-occurences

### Description

Get the number of motifs occurences and co-occurences from a `rGADEM` object.

### Usage

    occurences(gadem)
    cooccurences(x)

### Arguments

`gadem` | An object of type `rGADEM`.
`x` | A contingency table.

### Value

`occurences` returns the contingency table of the number of motifs per sequences.

This object can be put in `cooccurences` to return the number of sequences where two motifs appear together.

### Author(s)

Eloi Mercier <emercier@chibi.ubc.ca>

### Examples

    data("FOXA1_rGADEM")
    oc <- occurences (gadem)
    coc <- cooccurences (oc)
    coc

[Package MotIV version 1.40.0 Index]