grunwaldlab / metacoder

Parsing, Manipulation, and Visualization of Metabarcoding/Taxonomic data
http://grunwaldlab.github.io/metacoder_documentation
Other
135 stars 28 forks source link

Can we use a uniform color scale in different figs? #344

Closed durubing-jn closed 1 year ago

durubing-jn commented 1 year ago

Hi Thanks for your useful tool! I find that the colo scale always be different in diiferent figs, e.g. 0-73, 0-127, 0-244. Can I set the uniform scale in different figs? For example, the color scale is from 0 to 300. image

With best regard.

Rubing

zachary-foster commented 1 year ago

Thanks! Yes, you can use to the the interval options (e.g. node_color_interval = c(0, 300)). See the "Intervals" section of ?heat_tree for more info.

durubing-jn commented 1 year ago

Great, thanks!