colByFun {NanoStringQCPro} | R Documentation |
Color x based on upper and lower thresholds
colByFun(x, thresholds)
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) |
A vector of colors, with "red" for all values of x exceeding thresholds and "black" for all other values
Dorothee Nickles