findMotifDist: find motif distance

Description Usage Arguments Value

Description

Identifies the indicies of the peaks that have two motifs at a prefered distance from one another. Note that it only takes the smallest distance into account when searching so this function is not suitible when the expected distance between two motifs is great.

Usage

1
findMotifDist(fasta, motifa, motifb, loc, ...)

Arguments

fasta

The fasta sequences from Biostrings

motifa

a string of IUPAC characters

motifb

a string of IUPAC characters

loc

a list of logicals equal in length to the fasta variable

...

the distances at which peaks will be returned

Value

a list of indicies for peaks that have the motifs at prefered distances


alexjgriffith/CCCA documentation built on May 10, 2019, 8:52 a.m.