Closed thpralas closed 5 months ago
Thanks!
Can you make a quick try if you can fix the bug?
I believe you can just
addTaxonomyTree
with .agglomerate_trees
. length(tree$tip.labels) == nrow(tse)
when udpate_rowTree = TRUE
Ask if unclear, do not spend too much time if it seems that the problem is harder to fix than this
I just made a commit referencing this issue.
I replaced addTaxonomyTree
with .agglomerate_trees
and added tests. The tests all passed but for each TreeSummarizedExperiment in the returned list, I received the following warning from the agglomerate_tree
function :
'keep.nodes' does specify all the tips from 'tree'. The tree is not agglomerated.
.
When I ran the test without replacing addTaxonomyTree
, some tests failed so I think the new function works but I don't know if the tests I added are relevant.
Describe the bug After splitting the data, if
udpate_rowTree
isTRUE
,splitOn()
adds a new rowTree to allTreeSummarizedExperiment
objects in the returned list instead of manipulating the existingrowTree
.