# DNAbin2indel

From ape v5.3
0th

Percentile

##### Recode Blocks of Indels

This function scans a set of aligned DNA sequences and returns a matrix with information of the localisations and lengths on alignment gaps.

Keywords
manip
##### Usage
DNAbin2indel(x)
##### Arguments
x

an object of class "DNAbin".

##### Details

The output matrix has the same dimensions than the input one with, either a numeric value where an alignment gap starts giving the length of the gap, or zero. The rownames are kept.

##### Value

a numeric matrix.

DNAbin, as.DNAbin, del.gaps, seg.sites, image.DNAbin, checkAlignment