Description Usage Arguments Author(s) See Also Examples
View source: R/CalculRedundancy.R
This function calculates the redundancy (order) of a random variable X with N possible states.
1 | CalculRedundancy(Factortrans, q,iicc)
|
Factortrans |
A set of aligned nucleotide sequences |
q |
Renyi Order |
iicc |
A list options |
Joan Maynou <joan.maynou@upc.edu>
redundancy, entropy.Shannon,entropy.Renyi, correction.redundancy, correction.entropy, correctionaprox
1 2 3 4 5 6 7 8 9 10 11 12 13 | data(TranscriptionFactor)
data(BackgroundOrganism)
data(RenyiOrder)
data(iicc)
Factortrans<-TranscriptionFactor
correction<-correction.entropy(q,p=nrow(Factortrans),long=1,iicc=iicc)
iicc$Herror<-iicc$HXmax<-iicc<-classentropy<-NULL
iicc$Herror<-slot(correction,"Herror")
iicc$classentropy<-"Shannon"
training.set<-TranscriptionFactor
wind<-probability(training.set,Prob,missing.fun=NULL)
iicc$HXmax<-H<-switch(iicc$classentropy, "Shannon"=entropy.Shannon(wind),"Renyi"=entropy.Renyi(iicc$background,q))
CalculRedundancy(Factortrans,q,iicc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.