colByCovar {NanoStringQCPro} | R Documentation |
Define colors based on a covariate of an RccSet object
colByCovar(pdata, covar)
pdata |
pData() of an RccSet object |
covar |
character, colname in the pdata used to stratify (color) data |
A list of length 2, with [["color"]] being a character vector of colors (one color for each level of covar) of length=number of observations and [["legend"]] providing the levels of covar to map colors to covar
Dorothee Nickles