concatenate
- Concatenate character matrices
a : | AbstractHomologousDiscreteCharacterData (pass by const reference) |
First character data object. | |
b : | AbstractHomologousDiscreteCharacterData (pass by const reference) |
Second character data object. | |
... : | AbstractHomologousDiscreteCharacterData (pass by const reference) |
Additional character data objects. | |
merge : | String (pass by value) |
How to merge differing taxa | |
Default : Taxa must match | |
Options : union|intersection |
# read in character data for locus_1
locus_1 = readDiscreteCharacterData("locus_1.nex")
# read in character data for locus_2
locus_2 = readDiscreteCharacterData("locus_2.nex")
# create concated locus for 1+2 (union of taxa)
locus_1_and_2 = concatenate( locus_1, locus_2 )