Learn R Programming

ddpcr (version 1.15.2)

x_var: Get/set the X/Y variable (dye name)

Description

By default, the dye visualized along the X axis is HEX and the dye visualized along the Y axis is FAM. You can use these functions to get or set these values if your plate uses different dyes.

Usage

x_var(plate)

y_var(plate)

x_var(plate) <- value

y_var(plate) <- value

Value

Dye name

Arguments

plate

A ddPCR plate

value

New dye name

Details

The X/Y variables are simply parameters in the plate, which can also be accessed or changed using params. You should use these functions to change the X/Y variable rather than changing the parameters directly.

See Also

params

Examples

Run this code
if (FALSE) {
plate <- new_plate(sample_data_dir())
x_var(plate)
x_var(plate) <- "VIC"
x_var(plate)
}

Run the code above in your browser using DataLab