Open xieduo7 opened 1 year ago
I produced a tree and added nodes to it:
library(ggtree) library(treeio) tree <- rtree(13,tip.label = c("A","B","C","D","E","F","G","H","I","J","K","L","M")) set.seed(1234) library(ape) emp_tree <- makeNodeLabel(tree, method = "number", prefix = "Node") groupInfo<-list(group1=c("A","B","C","D","E","Node1"), group2=c("F","G","H","I","J","K","L","M")) tree01 <-groupOTU(emp_tree,groupInfo) as_tibble(tree01)
But I cannot add the group information to nodes (see the 'Node1'):
How can I change the group information of nodes?
I produced a tree and added nodes to it:
But I cannot add the group information to nodes (see the 'Node1'):![image](https://user-images.githubusercontent.com/35059160/216012095-d72faa65-c34d-48bb-b457-5271f26d00cc.png)
How can I change the group information of nodes?