randomly.resolve: 'randomly.resolve' Moves species around randomly within a...

Description Usage Arguments Details Value Author(s)

View source: R/clean.taxonomy.R

Description

randomly.resolve Moves species around randomly within a genus

Usage

1
randomly.resolve(tree, to.resolve, split = "_")

Arguments

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

Details

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.

Value

The randomised phylogeny

Author(s)

Will Pearse


willpearse/willeerd documentation built on May 4, 2019, 6:27 a.m.