colByFun: colByFun

Description Usage Arguments Value Author(s)

View source: R/NanoStringQualityMetrics.R

Description

Color x based on upper and lower thresholds

Usage

1
colByFun(x, thresholds)

Arguments

x

Numeric vector

thresholds

List of length 2, with a scalar numeric in each slot, one giving the lower the upper threshold (for outlier definition)

Value

A vector of colors, with "red" for all values of x exceeding thresholds and "black" for all other values

Author(s)

Dorothee Nickles


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