This function is meant for users who don't want to use the tree-based/hierarchical functionality of the package. It creates a tree that assumes that all the celltype labels are at the same level of the tree.
Source:R/CreateEqualTree.R
CreateEqualTree.Rd
This function is meant for users who don't want to use the tree-based/hierarchical functionality of the package. It creates a tree that assumes that all the celltype labels are at the same level of the tree.
Arguments
- cell_labels
Vector of celltype labels we want to create a tree with. Don't include duplicate celltype labels.
- rootnode_name
Optional parameter giving the name of the rootnode of the tree. Recommended to keep as "Unmapped".
Examples
equal_tree = lionmap::CreateEqualTree(cell_labels = paste0(1:20,"n"),rootnode_name = "Root")