Hello,
I finally got through the scripts to the point where I am trying to tweak my Log2FC heat.tree
I get a tree with no issues if I use the following script
set.seed(1)
obj6 %>%
heat_tree(node_label = taxon_names,
node_size = n_obs, # number of OTUs
node_color = log2_median_ratio, # difference between groups
node_color_interval = c(-15, 15), # symmetric interval
node_color_range = c("cyan", "gray", "magenta"), # diverging colors
node_size_axis_label = "OTU count",
node_color_axis_label = "Log 2 ratio of median counts",
title = "Open vs Mat samples")
But if I add a line to control the layout as follows:
set.seed(1)
obj6 %>%
heat_tree(node_label = taxon_names,
node_size = n_obs, # number of OTUs
node_color = log2_median_ratio, # difference between groups
node_color_interval = c(-15, 15), # symmetric interval
node_color_range = c("cyan", "gray", "magenta"), # diverging colors
node_size_axis_label = "OTU count",
node_color_axis_label = "Log 2 ratio of median counts",
layout = "da", initial_layout = "re",
title = "Open vs Mat samples")
then I get this error:
Error in layout$fun(graph = list(1598, TRUE, c(0, 0, 0, 0, 0, 0, 0, 0, :
At rinterface_extra.c:82 : The value 10.642051692927977 is not representable as an integer. Invalid value
Any thoughts on how to fix this please?
Darryl