harrispopgen / mushi

[mu]tation [s]pectrum [h]istory [i]nference
https://harrispopgen.github.io/mushi/
MIT License
24 stars 6 forks source link

Question on Ksfs #75

Closed RenzoTale88 closed 3 years ago

RenzoTale88 commented 3 years ago

Hi, sorry to bother you about a probably very simple question. Am I right when I say that the Ksfs is the number of SNPs carrying the given mutation type (e.g. ACT>ATT) in N number of samples? For example:

sample_frequency ACT>ATT
1 1000
2 2000
3 1500
4 1200
5 100

Means that there 1000 SNPs in which 1 sample only carries the mutation given, 2000 SNPs in which two samples carry the given mutation and so on?

Thank you in advance Andrea

wsdewitt commented 3 years ago

Hi Andrea—yes that sounds correct.

wsdewitt commented 3 years ago

This seems resolved, so I'll close. Let us know if not.