Estimates θ_{Watterson} from dosage data
Estimates θ_{Watterson}=S/a, where S is the number of segregating sites in a set of sequences and a=1/∑_i^{n-1} i.
theta.Watt.dosage(dos,L=NULL)
dos |
a ni X nl dosage matrix containing the number of derived/alternate alleles each individual carries at each SNP |
L |
the length of the sequence |
if L=NULL
(default), returns θ_{Watterson}, else return θ_{Watterson}/L
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.