del.gaps: Delete Alignment Gaps in DNA Sequences

Description Usage Arguments Details Value Author(s) See Also

Description

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

Usage

1

Arguments

x

a matrix, a list, or a vector containing the DNA sequences.

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.

Value

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

Author(s)

Emmanuel Paradis

See Also

base.freq, GC.content, theta.s, nuc.div, seg.sites


gjuggler/ape documentation built on May 17, 2019, 6:03 a.m.