Description Usage Arguments Author(s) See Also Examples
View source: R/divergence.Renyi.R
This function calculates parametric divergence (Renyi Order different 1)
1 | divergence.Renyi(training.set, pmX, pmXY, q, correction)
|
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 |
Joan Maynou <joan.maynou@upc.edu>
divergence.Shannon, PredictDivergence
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.