"-"
) in a sample of DNA
sequences.del.gaps(x)
del.colgapsonly(x)
del.colgapsonly
.del.gaps
returns a vector (if there is only one input sequence)
or a list of class "DNAbin"
; del.colgapsonly
returns a
matrix.del.gaps
remove all gaps, so the returned sequences may not
have all the same lengths and are therefore returned in a list. del.colgapsonly
removes the columns that contain only gaps
(useful when a small matrix is extracted from a large alignment).
The sequences can be either in "DNAbin"
or in another format,
but the returned object is always of class "DNAbin"
.
base.freq
, GC.content
,
seg.sites
, image.DNAbin