catfullGenes | R Documentation |
Compares a list of "n" gene datasets (individual DNA alignments)
and makes them with the same number of taxa, ready for combined, multigene
phylogenetic analysis. This function only works for DNA alignments where species
do not have duplicated sequences. For concatenation when species have multiple
accessions, please use catmultGenes
.
catfullGenes(...,
shortaxlabel = TRUE,
missdata = TRUE,
outgroup = NULL,
verbose = TRUE)
... |
a list of NEXUS-formatted gene datasets as read by ape's |
shortaxlabel |
Logical, if |
missdata |
Logical, if |
outgroup |
Provide the outgroup taxa (either one taxon name or a vector of multiple taxon names that are present in all individual gene dataset) if the concatenation is intended to maintain incomplete taxa (taxa missing the sequence for a particular gene). |
verbose |
Logical, if |
A list of dataframes of the equally-sized gene dataset, where the first column "species" include all taxon names and the second column "sequence" include the DNA sequence for the corresponding taxon.
Domingos Cardoso and Quezia Cavalcante
writeNexus
writePhylip
nexusdframe
phylipdframe
fastadframe
## Not run:
data(Gaya)
catdf <- catfullGenes(Gaya,
shortaxlabel = TRUE,
missdata = FALSE,
outgroup = "Abutilon_costicalyx",
verbose = TRUE)
outgrouptaxa <- c("Abutilon_costicalyx", "Abutilon_itatiaie")
catdf <- catfullGenes(Gaya,
shortaxlabel = TRUE,
missdata = FALSE,
outgroup = outgrouptaxa,
verbose = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.