Description Usage Arguments Value
This function extracts the column 'cols_vec' from the 'pdata slot of a given pdata object.
1 | cols(pdata)
|
pdata |
a pdata object consisting of a list including a data frame called 'pdata', containing phenotypic information (on columns) for samples (on rows). One of those is a column called 'cols_vec' containing colours that are to be used in plots, corresponding to the samples. |
A character vector containing colours corresponding to samples in the pdata object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.