A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/grunwaldlab/metacoder/issues/240 below:

ERRROR in heat_tree_matrix - missing value where TRUE/FALSE needed · Issue #240 · grunwaldlab/metacoder · GitHub

Hello,
I am new with this package. I have tibble with a variable that contain 3 levels (treatments). I am trying to plot differential heat trees that shows differential abundances between the different treatments. However, I encountered the following error:

> obj$data$diff_table # A tibble: 5,094 x 7
taxon_id treatment_1 treatment_2 log2_median_ratio median_diff mean_diff wilcox_p_value
1 aab Picea Abies 0.0915 2165 2439. 0.0487 2 aac Picea Abies 0.268 3500. 3794. 0.0206
3 aad Picea Abies -0.112 -329 -594. 0.339 4 aae Picea Abies -0.00217 -9.5 -87.4 0.867
5 aaf Picea Abies -0.367 -424. -365. 0.358 6 aag Picea Abies -0.774 -346. -337. 0.173
7 aah Picea Abies 0 0 21.4 0.0853 8 aai Picea Abies 0 0 6.28 0.0862
9 aaj Picea Abies -0.205 -9 -5.69 0.697 10 aak Picea Abies -0.157 -54.5 -26.3 0.493
# ... with 5,084 more rows >
> heat_tree_matrix(obj, + dataset = "diff_table",
+ node_size = n_obs, + node_label = taxon_names,
+ node_color = log2_median_ratio, + node_color_range = diverging_palette(),
+ node_color_trans = "linear", + node_color_interval = c(-3, 3),
+ edge_color_interval = c(-3, 3), + node_size_axis_label = "Number of OTUs",
+ node_color_axis_label = "Log2 ratio median proportions") Error in if (zero_range(as.numeric(limits))) { :
missing value where TRUE/FALSE neededIn addition: There were 50 or more warnings (use warnings() to see the first 50)
`>

Thank you for helping on this,

Gian


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4