itol.toolkit icon indicating copy to clipboard operation
itol.toolkit copied to clipboard

itol.toolkit--Color_Palette function

Open makerer5 opened this issue 10 months ago • 1 comments

Hello, I tried to assign a color to the tree. When I used the following code, I kept getting prompted: Error: Object 'Phylum_color' not found. I compared the sample file 'abunt_metadata.txt' and did not find the Phylum_color option. Which step went wrong? phylum_color <- tribble( ~Phylum, Phylum_color, "Ascomycota", "#d45e00", "Basidiomycota", "#54c3ff", "Chytridiomycota", "#f0e449", "Entorrhizomycota", "#b04380", "Rozellomycota", "#79d0ff", "Unassigned","#75b831", "Aphelidiomycota","#afb28e", "Calcarisporiellomycota","#98c8f3", "Mortierellomycota","#6a1b9a", "Glomeromycota","#fdfab0", "Monoblepharomycota","#fd8a8a", "Mucoromycota","#738385", "Olpidiomycota","#ffc46d", "Zoopagomycota","#ece8f2" )

makerer5 avatar Apr 22 '24 15:04 makerer5

Please show me the full code pipeline and example data files.

The Phylum_color object looks like a custom defined in the above code lines.

TongZhou2017 avatar Apr 22 '24 21:04 TongZhou2017