I am trying to color by attribute, using custom colors, at command line.
The following commands work fine with system colors;
show window=samplesViewer;
colorBy attribute='Group'; #'Group' is a column header in metadata
I found the following command in samplesViewer>Command Syntax:
show window=samplesViewer;
set color=#996600 attribute=Group state=RCBS;
but it fails as follows:
MEGAN> Command: import metadata='...' clearExisting=true;
Executing: import metadata='...' clearExisting=true;
Cleared existing metadata
Info: Number of attributes imported: 2
MEGAN> Command: show window=samplesViewer;
Executing: show window=samplesViewer;
null
Command usage: show window=samplesViewer; - Opens the Samples Viewer
Error: Command failed: null
MEGAN> Command: set color=#996600 attribute=Group state=RCBS;
Executing: set color=#996600 attribute=Group state=RCBS;
Line 1: ';' expected, got: 'attribute'
Command usage: set color={<color>|null}; - Set the color of selected nodes and edges
Grateful for your help.