outer_only: if TRUE replace only contiguous leading and trailing gaps; if FALSE replace all gap characters.
Returns
A modified seq vector with "N" in place of c("-", ".")
characters.
Examples
# Mask with NsmaskSeqGaps(c("ATG-C","CC..C"))maskSeqGaps("--ATG-C-")maskSeqGaps("--ATG-C-", outer_only=TRUE)# Mask with dashesmaskSeqGaps(c("ATG-C","CC..C"), mask_char="-")