Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
camilogarciabotero committed Jun 9, 2024
1 parent d56136b commit 20b0bb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ MRRMAR*
Now supposing I do want to see how transitions are occurring in this ORF sequence, the I can use the `BioMarkovChain` method and tune it to 2nd-order Markov chain:

```julia
BioMarkovChain(orfdna, 2)
BioMarkovChain(orfseq, 2)

BioMarkovChain of DNAAlphabet{4}() and order 1:
- Transition Probability Matrix -> Matrix{Float64}(4 × 4):
Expand Down Expand Up @@ -103,9 +103,9 @@ BioMarkovChain of DNAAlphabet{4}() and order 1:
What is then the probability of the previous DNA sequence given this model?

```julia
dnaseqprobability(orfseq, ECOLICDS)
markovprobability(orfseq, model=ECOLICDS, logscale=true)

1.1061824843755975e-12
-39.71754773536592
```

This is off course not very informative, but we can later use different criteria to then classify new ORFs. For a more detailed explanation see the [docs](https://camilogarciabotero.github.io/BioMarkovChains.jl/dev/biomarkovchains/)

0 comments on commit 20b0bb6

Please sign in to comment.