mergeMotifs: merge multiple motifs

View source: R/mergeMotifs.R

mergeMotifsR 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)


jianhong/motifStack documentation built on Jan. 31, 2024, 5:03 a.m.