File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ mod_heatmap_beta <- function(
9090 # plot phylogenetic tree -----
9191 ecokit :: cat_time(" phylogenetic tree plot" )
9292
93- tree <- model_obj $ phylotree
93+ tree <- model_obj $ phyloTree
9494 # remove prefix "sp_" from tip labels
9595 tree $ tip.label <- stringr :: str_remove(tree $ tip.label , " ^sp_" )
9696 if (length(tree $ edge.length ) == 2 * nrow(tree $ edge )) {
@@ -451,7 +451,7 @@ mod_heatmap_omega <- function(
451451 # plot phylogenetic tree -----
452452 ecokit :: cat_time(" Phylogenetic tree plot" )
453453
454- tree <- model_obj $ phylotree
454+ tree <- model_obj $ phyloTree
455455 # Remove the 'sp_' prefix from tip labels
456456 tree $ tip.label <- stringr :: str_remove(tree $ tip.label , " ^sp_" )
457457 if (length(tree $ edge.length ) == 2 * nrow(tree $ edge )) {
You can’t perform that action at this time.
0 commit comments