how can I keep tips of my accession number list in tree by ape pakage? keep.tip() , dorp.tip()
0
0
Entering edit mode
2.0 years ago
anran04100 • 0

I've got a list of accession numbers and a tree file bac120.tree form gtdb How can I fix this tree to only keep tips according to my accession numbers?

I only know how to drop it but have no idea how to keep tips that I need

bac_tree <- drop.tip(bac_tree,as.character(GCA_file$accession))
drop.tip trees phylogenetic ape keep.tip • 282 views
ADD COMMENT

Login before adding your answer.

Traffic: 2918 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6