Learn R Programming

DiffLogo (version 1.2.1)

probabilities: probabilities

Description

the given probabilities

Usage

probabilities(p)

Arguments

p
probability vector representing the symbol distribution

Value

the given vector

Examples

Run this code
motif_folder= "extdata/pwm"
motif_name = "HepG2"
fileName = paste(motif_folder,"/",motif_name,".txt",sep="")
file = system.file(fileName, package = "DiffLogo")
motif = as.matrix(read.delim(file,header=FALSE))
seqLogo(pwm = motif, baseDistribution = probabilities)

Run the code above in your browser using DataLab