sumProbabilities: sum of probabilities, i.e. 1.0

Description Usage Arguments Value Author(s) Examples

Description

the sum of probabilities for the given probability vector, i.e. 1.0

Usage

1

Arguments

p

probability vector representing the symbol distribution

Value

an object consisting of height and ylab

Author(s)

Martin Nettling

Examples

1
2
3
4
5
6
motif_folder= "extdata/pwm"
motif_name = "HepG2"
fileName = paste(motif_folder,"/",motif_name,".pwm",sep="")
file = system.file(fileName, package = "DiffLogo")
motif = getPwmFromPwmFile(file)
(pwm = motif, stackHeight = sumProbabilities)

DiffLogo documentation built on Nov. 8, 2020, 6:09 p.m.