informationContent: information content

Description Usage Arguments Value Author(s) Examples

Description

the information content for the given probability vector

Usage

1

Arguments

p

probability vector representing the symbol distribution

Value

an object consisting of height a 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 = informationContent)

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