trim_one_end: Trim columns of exclusively "n" characters from one end of...

Description Usage Arguments Value Examples

Description

Trim columns of exclusively "n" characters from one end of alignment

Usage

1
trim_one_end(alignment)

Arguments

alignment

matrix of class DNAbin

Value

matrix of class DNAbin

Examples

1
2
3
4
5
6
library(ape)
dna_mat <- matrix(rep(c("n", "t", "a", "n"), 2), 2, 4, byrow = TRUE)
dna_mat
dna_mat <- as.DNAbin(dna_mat)
dna_mat
trim_one_end(dna_mat)

joelnitta/baitfindR documentation built on May 7, 2020, 6:21 p.m.