seg.sites {ape} | R Documentation |
This function gives the indices of segregating (polymorphic) sites in a sample of DNA sequences.
seg.sites(x)
x |
a matrix or a list which contains the DNA sequences. |
If the sequences are in a list, all the sequences must be of the same length. Ambiguous nucleotides are ignored.
A numeric (integer) vector giving the indices of the segregating sites.
Emmanuel Paradis
data(woodmouse) y <- seg.sites(woodmouse) y length(y)