Description Usage Arguments Details Value Author(s)
View source: R/clean.taxonomy.R
randomly.resolve
Moves species around randomly within a genus
1 | randomly.resolve(tree, to.resolve, split = "_")
|
tree |
phylogeny containing the species to be shunted around |
to.resolve |
species to be shunted around |
split |
split by which tip.labels will be cut to find congeners |
Moves species around within a genus, binding them back in as a sister to a species in the same genus. Does nothing if a specified species is the only member of a genus in the tree. This isn't the perfect way to deal with species for which you have no DNA data, but it's definitely better than just sticking them in at the base of a genus (which makes no sense to me). Do this many, many times! If you're desperate to move things around at a depth different from the genus, either modify the code (...) or use Family_Genus_species names in your phylogeny.
The randomised phylogeny
Will Pearse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.