Description Usage Arguments Value Author(s) References See Also Examples
Giving a logodds matrix, the Score of a sequence is calculated as the sum of the logodds of each nucleotide at each position of the sequence (equivalent to calculating the probability of each nucleotide at each position)
1 | CalculScores(sequencia, logodds)
|
sequencia |
Sequence to analyze |
logodds |
logodds matrix for a given motif. |
score: score of the studied sequence
Erola Pairo <epairo@ibecbarcelona.eu>
Gary D. Stormo. DNA binding sites: representation and discovery. Bioinformatics (2000) 16(1): 16-23 doi:10.1093/bioinformatics/16.1.16
CalculPSSM, CalculInformation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #
#First example, calculating logodds of a Sequence
data(TFlogodds)
data(Sequence)
CalculScores(sequencia=Sequence, logodds=TFlogodds)
#
#given a Transfac matrix, calculate first loggods and then scores
data(TranscriptionFactor)
data(BackgroundOrganism)
data(Sequence)
Factortrans<-TranscriptionFactor
suma<-apply(Factortrans,2,function(y){sum(y=="-")})
Factortrans<-Factortrans[, suma==0]
logodds<-CalculInformation(matriu=Factortrans, Prob=Prob)
logodds <- logodds[,2:dim(logodds)[2]]
CalculScores(sequencia=Sequence,logodds=logodds)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.