-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed multinomial distribution to Dirichlet multinomial distrbution…
… for readcount model #56
- Loading branch information
1 parent
0a67d7c
commit 9371d14
Showing
4 changed files
with
87 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Θ ~ LogNormal(meanlog=-2.0, sdlog=1.0); | ||
ψ ~ Coalescent(n=16, theta=Θ); | ||
ψ ~ Coalescent(n=4, theta=Θ); | ||
π ~ Dirichlet(conc=[3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0]); | ||
rates ~ Dirichlet(conc=[1.0, 2.0, 1.0, 1.0, 2.0, 1.0]); | ||
Q = gt16(freq=π, rates=rates); // construct the GT16 instantaneous rate matrix | ||
A ~ PhyloCTMC(L=200, Q=Q, tree=ψ, dataType=phasedGenotype()); | ||
A ~ PhyloCTMC(L=5, Q=Q, tree=ψ, dataType=phasedGenotype()); | ||
epsilon ~ Beta(alpha=2, beta=18); | ||
delta ~ Beta(alpha=1.5, beta=4.5); | ||
E ~ GT16ErrorModel(delta=delta, epsilon=epsilon, alignment=A); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.