Skip to content

Commit

Permalink
qc and parameter table and other things
Browse files Browse the repository at this point in the history
fixup qc model

simplified model

allow fractional values of generation time
  • Loading branch information
petrelharp committed May 26, 2022
1 parent a98b3f0 commit 77f9663
Show file tree
Hide file tree
Showing 6 changed files with 303 additions and 320 deletions.
1 change: 1 addition & 0 deletions docs/_ext/speciescatalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ def model_image(self, species, model):
os.makedirs(f"parameter_images/{species.id}/", exist_ok=True)
img_name = f"parameter_images/{species.id}/{mid}.png"
plt.savefig(img_name, dpi=150)
plt.close()
section = nodes.image(uri=img_name)
return section

Expand Down
4 changes: 4 additions & 0 deletions docs/parameter_tables/AnoGam/GabonAg1000G_1A17.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Population size,"4,069,863","Modern population size"
Population size,"205,766","Mean coalescence time / 4"
"Generation time (yrs.)",1/11,"Generation time"
"Mutation rate (subst/gen)",3.5e-9,"Mutation rate"
Loading

0 comments on commit 77f9663

Please sign in to comment.