probabilities: probabilities

Description Usage Arguments Value Author(s) Examples

View source: R/baseDistrs.R

Description

the given probabilities

Usage

1

Arguments

p

probability vector representing the symbol distribution

Value

the given vector

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, baseDistribution = probabilities)

Example output

Loading required package: cba
Loading required package: grid
Loading required package: proxy

Attaching package:proxyThe following objects are masked frompackage:stats:

    as.dist, dist

The following object is masked frompackage:base:

    as.matrix

[1] "pwm must be of class matrix or data.frame. Trying to convert"

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