Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different formats of tree tip.labels #19

Open
LBreugelmans opened this issue Oct 20, 2024 · 1 comment
Open

Different formats of tree tip.labels #19

LBreugelmans opened this issue Oct 20, 2024 · 1 comment
Assignees

Comments

@LBreugelmans
Copy link
Collaborator

Published trees can have different formats of tip labels, eg. ott_id, species_name, speciesname_ottid, order family speciesname,...
We need to get an overview of the frequency of these kinds of labels, and either provide a clean-up script, or describe that the user needs to clean up the tree before uploading.

A function to remove ott_id's already exist, namely rotl::strip_ott_ids.

@LBreugelmans LBreugelmans self-assigned this Oct 20, 2024
@LBreugelmans
Copy link
Collaborator Author

Tree can be updated with cleaned up tree labels using:

new_tree$tip.label <- new_tiplabels[match(orig_tree$tip.label,orig_tiplabels)];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant