clean_dna | R Documentation |
clean_dna()
removes all character not a valid ACTG base from a DNAbin
object.
clean_dna(dna, verbose = TRUE)
dna |
an object of class DNAbin. |
verbose |
logical. Returns a warning if any sequence contains non ACTG bases. |
clean_dna()
detects and removes any non ACTG bases from alignment. This includes:
"N", "-", "?", "R", "Y", etc. If verbose = TRUE
, returns a warning if these characters
are inside the sequences, i.e, are not alignment padding chars at the ends.
an object of class DNAbin.
Rupert A. Collins
geo_clean <- clean_dna(geophagus)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.