pwf {ngsReports} | R Documentation

## Colours for PASS/WARN/FAIL

### Description

Default colours for PASS/WARN/FAIL

### Usage

    pwf

### Format

An object of class `PwfCols` of length 1.

### Details

`pwf` is an object of class PwfCols supplied with the package and used as the default colouring. Colours correspond approximately to PASS, WARN and FAIL from the FASTQC reports, with the additional colour (MAX) included to indicate an extreme FAIL. In order, these colours in the default vector are green (`rgb(0, 0.8, 0)`), yellow (`rgb(0.9, 0.9, 0.2)`), red (`rgb(0.8, 0.2, 0.2)`) and white (`rgb(1, 1, 1)`)

### Examples

    # Make a pie chart showing the default colours
    pie(rep(1,4), labels = names(pwf), col = getColours(pwf))

[Package ngsReports version 1.6.1 Index]