mergeMotifs {motifStack} | R Documentation

## merge multiple motifs

### Description

merge multiple motifs by calculate mean of each position

### Usage

    mergeMotifs(..., bgNoise = NA)

### Arguments

`...` | pcm or pfm objects
`bgNoise` | if it is not NA, test will using a background by Dirichlet(1)-distributed random frequencies with weight bg.noise. The value of bgNoise should be a number in the range of 0 to 1, eg. 0.05

### Value

a pfm object

### Author(s)

Jianhong Ou

### Examples

        pcms<-readPCM(file.path(find.package("motifStack"), "extdata"),"pcm$")
        mergeMotifs(pcms)

[Package motifStack version 1.38.0 Index]