sumProbabilities {DiffLogo} | R Documentation

## sum of probabilities, i.e. 1.0

### Description

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

### Usage

    sumProbabilities(p)

### Arguments

`p` | probability vector representing the symbol distribution

### Value

an object consisting of height and ylab

### Author(s)

Martin Nettling

### Examples

    motif_folder= "extdata/pwm"
    motif_name = "HepG2"
    fileName = paste(motif_folder,"/",motif_name,".pwm",sep="")
    file = system.file(fileName, package = "DiffLogo")
    motif = getPwmFromPwmFile(file)
    seqLogo(pwm = motif, stackHeight = sumProbabilities)

[Package DiffLogo version 2.6.0 Index]