We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At the moment the tutorial.html page says:
"At time of writing, we don’t have a built-in allele_frequency method, so we’ll use the following snippet"
But now we have Variant.frequencies():
Variant.frequencies()
import msprime ts = msprime.sim_mutations(msprime.sim_ancestry(10, sequence_length=10, random_seed=1), rate=1, random_seed=1) for v in ts.variants(samples=np.arange(5)): print(v.frequencies())
I didn't fully look at the example, but would this make the whole thing easier, @petrelharp ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
At the moment the tutorial.html page says:
"At time of writing, we don’t have a built-in allele_frequency method, so we’ll use the following snippet"
But now we have
Variant.frequencies()
:I didn't fully look at the example, but would this make the whole thing easier, @petrelharp ?
The text was updated successfully, but these errors were encountered: