ddpcr (version 1.15.2)

thresholds: Get/set the thresholds

Description

For ddPCR plates of type custom_thresholds, get or set the thresholds that divide the four droplet quadrants.

Usage

thresholds(plate)

thresholds(plate) <- value

set_thresholds(plate, value)

Value

The current thresholds

Arguments

plate

A ddPCR plate.

value

The new thresholds as a 2-element numeric vector

See Also

custom_thresholds
x_threshold
y_threshold

Examples

Run this code
if (FALSE) {
plate <- new_plate(sample_data_dir(), type = plate_types$custom_thresholds)
thresholds(plate)
thresholds(plate) <- c(5500, 8000)
set_thresholds(plate, c(5500, 8000))
}

Run the code above in your browser using DataLab