Color [] col = new Color[res.length];\r
HydrophobicColourScheme cs = new HydrophobicColourScheme();\r
for (int i=0; i<res.length; i++)\r
- col[i] = cs.findColour(null, res[i], -1, null);\r
+ col[i] = cs.findColour( res[i], -1, null);\r
\r
displayKey( res, null, col, "According to the hydrophobicity table of Kyte, J., and Doolittle, R.F., J. Mol. Biol. 1157, 105-132, 1982. The most hydrophobic residues according to this table are coloured red and the most hydrophilic ones are coloured blue.");\r
\r
Color[] col = new Color[res.length];\r
HelixColourScheme cs = new HelixColourScheme();\r
for (int i = 0; i < res.length; i++)\r
- col[i] = cs.findColour(null, res[i], -1, null);\r
+ col[i] = cs.findColour( res[i], -1, null);\r
\r
displayKey(res, null, col, null);\r
}\r
Color[] col = new Color[res.length];\r
StrandColourScheme cs = new StrandColourScheme();\r
for (int i = 0; i < res.length; i++)\r
- col[i] = cs.findColour(null, res[i], -1, null);\r
+ col[i] = cs.findColour( res[i], -1, null);\r
displayKey(res, null, col, null);\r
}\r
\r
Color[] col = new Color[res.length];\r
TurnColourScheme cs = new TurnColourScheme();\r
for (int i = 0; i < res.length; i++)\r
- col[i] = cs.findColour(null, res[i], -1, null);\r
+ col[i] = cs.findColour( res[i], -1, null);\r
\r
displayKey(res, null, col, null);\r
}\r
Color[] col = new Color[res.length];\r
BuriedColourScheme cs = new BuriedColourScheme();\r
for (int i = 0; i < res.length; i++)\r
- col[i] = cs.findColour(null, res[i], -1, null);\r
+ col[i] = cs.findColour( res[i], -1, null);\r
\r
displayKey(res, null, col, null);\r
}\r