Learn R Programming

MotIV (version 1.28.0)

occurences: 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

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.

Examples

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

Run the code above in your browser using DataLab