| setLisacol {pRoloc} | R Documentation |
These functions allow to get/set the colours and point character that are used when plotting organelle clusters and unknown features. These values are parametrised at the session level. Two palettes are available: the default palette (previously Lisa's colours) containing 30 colours and the old (original) palette, containing 13 colours.
setLisacol() getLisacol() getOldcol() setOldcol() getStockcol() setStockcol(cols) getStockpch() setStockpch(pchs) getUnknowncol() setUnknowncol(col) getUnknownpch() setUnknownpch(pch)
cols |
A vector of colour |
pchs |
A vector of |
col |
A colour |
pch |
A |
The set functions set (and invisibly returns)
colours. The get functions returns a character
vector of colours. For the pch functions, numerics
rather than characters.
Laurent Gatto
## defaults for clusters
getStockcol()
getStockpch()
## unknown features
getUnknownpch()
getUnknowncol()
## an example
library(pRolocdata)
data(dunkley2006)
par(mfrow = c(2, 1))
plot2D(dunkley2006, fcol = "markers", main = 'Default colours')
setUnknowncol("black")
plot2D(dunkley2006, fcol = "markers", main = 'setUnknowncol("black")')
getUnknowncol()
setUnknowncol(NULL)
getUnknowncol()
getStockcol()
getOldcol()