Description Usage Arguments Value Author(s) See Also Examples
This function concatenate multiple alignments
1 2 3 4 5 6 7 |
Genes |
A list object with multiple alignments (DNAbin class) |
missing |
When a species or individual have no information for one or more genes, the absent gene(s) should be filled with "?" or "-". By default "?". |
write.dna |
Boolean, write the concatenate alignment in a file with predeterminate format. By deafault TRUE. |
write.format |
The format to write the concatenate alignment (only if write.dna == TRUE). Three options: 1. nexus (default), 2. phylip, 3. fasta or 4. tnt. |
filename |
The name of the output file (only if write.dna==TRUE). |
A concatenate alignment of DNAbin class
Omar Daniel Leon-Alvarado leon.alvarado12@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 | library(alignTools)
data(Procyonidae)
head(Procyonidae, 5L)
genes <- multiGenBank(Procyonidae,TRUE,FALSE)
alignment <- multiMuscle(x=genes, write.dna=FALSE)
concat <- concatGenes(Genes=alignment, missing="?", write.dna=TRUE, write.format="phylip", filename="Concat_eg_output")
str(concat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.