mergeMotifs: merge multiple motifs

Description Usage Arguments Value Author(s) Examples

View source: R/mergeMotifs.R

Description

merge multiple motifs by calculate mean of each position

Usage

1
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

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

motifStack documentation built on Nov. 8, 2020, 7:43 p.m.