x_var {ddpcr}R Documentation

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

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.

Value

Dye name

See Also

params

Examples

## Not run: 
plate <- new_plate(sample_data_dir())
x_var(plate)
x_var(plate) <- "VIC"
x_var(plate)

## End(Not run)

[Package ddpcr version 1.15 Index]