powered by
This function gives the indices of segregating (polymorphic) sites in a sample of DNA sequences.
seg.sites(x)
a matrix or a list which contains the DNA sequences.
A numeric (integer) vector giving the indices of the segregating sites.
If the sequences are in a list, all the sequences must be of the same length. Ambiguous nucleotides are ignored.
base.freq, theta.s, nuc.div
base.freq
theta.s
nuc.div
# NOT RUN { data(woodmouse) y <- seg.sites(woodmouse) y length(y) # }
Run the code above in your browser using DataLab