Skip to content

Commit

Permalink
Merge pull request #998 from izabelcavassim/patch-1
Browse files Browse the repository at this point in the history
Updated selection tutorial
  • Loading branch information
petrelharp committed Aug 17, 2021
2 parents 3f21e72 + 645908a commit d5aa3f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,7 @@ and MutationTypes have the same arguments as in SLiM.
species = stdpopsim.get_species("HomSap")
model = species.get_demographic_model("OutOfAfrica_3G09")
contig = species.get_contig("chr1", length_multiplier=0.001)
contig.clear_genomic_mutation_types()
samples = model.get_samples(100, 100, 100) # YRI, CEU, CHB
# neutral and deleterious mutations occur across the whole contig
Expand Down

0 comments on commit d5aa3f3

Please sign in to comment.