data.tree
data.tree copied to clipboard
General Purpose Hierarchical Data Structure for R
Workaround for the issue in `as.Node.data.frame` when one node and one column of the data.frame share the same name. Note: the suggested workaround adds a new argument (`suffix`) to the...
Hi, I tried to follow the vignette to convert a dataframe to Newick format, but I the branch length in the output are wrong, although the overall shape of the...
Thank you so much for your very helpful R-package! I encountered one issue: I get an error message (`Error: $ operator is invalid for atomic vectors`) when converting the following...
It would be helpful to include an example in the docs of how to prune a `data.tree` object in the same manner as `ape::drop.tip`
Hi! I'm using the Node class for most tree manipulations. I propagate annotations up the tree from the leaves using the vignette's methods (including unique "sample" id's under which many...
Hello, this error will be thrown using function `data.tree::as.phylo.Node` if a parenthesis character was part of an *internal* node label: `Error in FUN(X[[i]], ...): attempt to set index 2/2 in...
Is there a way to speed up this conversion, specifically with `ToNewick`? ``` library(ape) data(bird.families) system.time(bf
Saving environments results in huge files. Instead of environments, we could simply save as list of list. Essentially, what we get when calling `ToListExplicit`
Hi. I am trying to Find a node in a tree with non-unique names. Lets say, I have this - ``` data(acme) acme$Research$AddChild("IT") ``` When i use `FindNode(acme,"IT")` It is...