del.gaps

0th

Percentile

Delete Alignment Gaps in DNA Sequences

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

Keywords
univar
Usage
del.gaps(x)
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".

See Also

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

Aliases
Documentation reproduced from package ape, version 3.0-2, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.