Delete Alignment Gaps in DNA Sequences
This function removes the insertion gaps (
"-") in a sample of
- a matrix, a list, or a vector containing the DNA sequences.
The sequences can be either in
"DNAbin" or in character format,
but the returned object is always of class
x is a vector, then a vector is returned; if it is a list or a
matrix, then a list is returned.
- A vector (if there is only one input sequence) or a list of class