Learn R Programming

NanoStringQCPro (version 1.4.0)

colByFun: colByFun

Description

Color x based on upper and lower thresholds

Usage

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