Closed Daenarys8 closed 1 week ago
Can you check: it seems that row can have only one link in rowLinks. This means that no extra tree can be added (then there would be more than one linkage between single row and trees). There can be multiple trees if the dataset is divided into several trees.
--> Can you check if that is true
Load sample data
> library(mia)
> data(GlobalPatterns, package="mia")
> tse <- GlobalPatterns
> tse <- transformAssay(tse, MARGIN = "samples", method="relabundance")
Check the rowLinks slot
>row_links <- rowLinks(tse)
Count the number of links per row
> num_links_per_row <- sapply(row_links, length)
Check if any row has multiple links
> has_multiple_links <- any(num_links_per_row > 1)
> has_multiple_links
TRUE
row seems to have multiple links.
Your example does not show that. If you check rowLinks(tse):
But the question was:
--> I think this is not possible to do. I beliave the linkage between rows in TreeSE and rows in rowLinks is "hard" that way that each row in TreeSE is linked to corresponding index in rowLinks (but I might be wrong)
If that is the case, then we can just close this PR and issue --> the thing has be been checked
Any updates on this?
updates?
Not yet. Still unable to clarify if TreeSE can hold multiple *trees
ping #498