divergence.Renyi: Renyi divergence

Description Usage Arguments Author(s) See Also Examples

View source: R/divergence.Renyi.R

Description

This function calculates parametric divergence (Renyi Order different 1)

Usage

1
divergence.Renyi(training.set, pmX, pmXY, q, correction)

Arguments

training.set

A set of aligned nucleotide sequences

pmX

Relative frequency of a nucleotide at a motif position (position independency model) as an estimation of the probability of this fact.

pmXY

To extend to pmX to include of correlated positions (position dependency model)

q

Renyi Order

correction

Correction of the Finite Sample Size Effect

Author(s)

Joan Maynou <joan.maynou@upc.edu>

See Also

divergence.Shannon, PredictDivergence

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
data(TranscriptionFactor)
data(BackgroundOrganism)
data(RenyiOrder)
data(iicc)
q<-0.5
training.set<-TranscriptionFactor
correction<-correction.entropy(q,p=nrow(training.set),long=1,iicc)
HXmax<-iicc$HXmax
pmX<-probability(training.set,Prob,missing.fun=TRUE)
prob_parella<-probability.couple(Prob)
pmXY<-joint.probability(training.set, Prob, prob_parella)
HXY<-entropy.joint(pmXY,q,iicc)
divergence.Renyi(training.set,pmX,pmXY,q,correction)

MEET documentation built on May 2, 2019, 5:52 p.m.