artedison / Edison_Lab_Shared_Metabolomics_UGA

Official Edison Lab toolboxes and scripts for analyzing metabolomics data.
13 stars 4 forks source link

VisScores - distinguishableColors only works with Image Processing toolbox #3

Closed judgemt closed 4 years ago

judgemt commented 4 years ago

This may or may not require modification, but is good to note. From the command window:

Error in distinguishable_colors (line 93) C = makecform('srgb2lab');

Error in VisScores (line 56) cmap=distinguishable_colors(max(Ycolor)+1); % currently, the actual integers have an effect on the colors chosen

Error in workflow (line 292) VisScores(rs,PCA,[1,2],'Y',ones(size(rs,1),1),'conf_ellipse','true','showlegend',metadata.batch)

mikeaalv commented 4 years ago

Can you provide a minimal reproducible example as follows so that we can understand what's happening here?

code
error message
judgemt commented 4 years ago

Install image processing toolbox from Matlab