Learn R Programming

motifStack (version 1.16.2)

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

Examples

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

Run the code above in your browser using DataLab