ape - delete bootstrap values (node.labels) less than a certain value
0
0
Entering edit mode
wd ▴ 30
@wd-7410
Last seen 4.8 years ago
Germany

Hi I'm using the R packag ape to edit my newick trees. For my newick tree, I would like to remove values less than 80.

I'm able to  remove ALL labels using the following script:

library(ape)
tree <- read.tree("tree.nwk")
tree$node.label <- NULL
write.tree(tree, file = "tree_no_bootstrap.nwk")

...but somehow cannot find how to only delete bootstrap values less than 80.

Any advice would be much appreciated.

WD

ape bootstrap node phylogenetic tree • 4.0k views
ADD COMMENT
0
Entering edit mode

Mmm, ape is not a Bioconductor package, so you may not get help here.

ADD REPLY

Login before adding your answer.

Traffic: 464 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