seg.sites

0th

Percentile

Find Segregating Sites in DNA Sequences

This function gives the indices of segregating (polymorphic) sites in a sample of DNA sequences.

Keywords
univar
Usage
seg.sites(x)
Arguments
x

a matrix or a list which contains the DNA sequences.

Details

If the sequences are in a list, all the sequences must be of the same length. Ambiguous nucleotides are ignored.

Value

A numeric (integer) vector giving the indices of the segregating sites.

See Also

base.freq, theta.s, nuc.div

Aliases
  • seg.sites
Examples
# NOT RUN {
data(woodmouse)
y <- seg.sites(woodmouse)
y
length(y)
# }
Documentation reproduced from package ape, version 5.3, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.