ape (version 3.0-4)

del.gaps: Delete Alignment Gaps in DNA Sequences

Description

This function removes the insertion gaps ("-") in a sample of DNA sequences.

Usage

del.gaps(x)

Arguments

Value

A vector (if there is only one input sequence) or a list of class "DNAbin".

Details

The sequences can be either in "DNAbin" or in character format, but the returned object is always of class "DNAbin". If x is a vector, then a vector is returned; if it is a list or a matrix, then a list is returned.

See Also

base.freq, GC.content, seg.sites, image.DNAbin