apex (version 1.0.6)

add.gaps: Add gap-only sequences for missing data

Description

In multidna and multiphyDat, some individuals may not be sequenced for all genes. The generic function add.gaps has method for both objects; it identifies the missing sequences, and adds gap-only sequences to the alignments wherever needed.

Usage

add.gaps(x, ...)

# S4 method for multidna add.gaps(x, ...)

# S4 method for multiphyDat add.gaps(x, ...)

Arguments

x

a multidna or multiphyDat object.

...

further arguments passed to other methods (currently not used).