cols: Extracts the vector of colours from a pdata object

Description Usage Arguments Value

Description

This function extracts the column 'cols_vec' from the 'pdata slot of a given pdata object.

Usage

1
cols(pdata)

Arguments

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.

Value

A character vector containing colours corresponding to samples in the pdata object.


rxmenezes/rscreenorm documentation built on May 15, 2019, 1:19 p.m.