colByCovar: colByCovar

Description Usage Arguments Value Author(s)

View source: R/NanoStringQualityMetrics.R

Description

Define colors based on a covariate of an RccSet object

Usage

1
colByCovar(pdata, covar)

Arguments

pdata

pData() of an RccSet object

covar

character, colname in the pdata used to stratify (color) data

Value

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

Author(s)

Dorothee Nickles


NanoStringQCPro documentation built on Nov. 8, 2020, 8:11 p.m.