seg.sites: Find Segregating Sites in DNA Sequences

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/DNA.R

Description

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

Usage

1

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.

Author(s)

Emmanuel Paradis

See Also

base.freq, theta.s, nuc.div

Examples

1
2
3
4

ape documentation built on May 30, 2017, 6:11 a.m.

Search within the ape package
Search all R packages, documentation and source code