Learn R Programming

ddpcr (version 1.15.2)

reset: Reset a plate

Description

Reset a ddPCR plate object back to its original state. After resetting a plate, all the analysis progress will be lost, but the original droplet data and plate metadata will be kept. Two common reasons to reset a plate are either to restart the analysis, or to re-analyze the plate as a different plate type.

Usage

reset(plate, type, params, keep_type = FALSE, keep_params = FALSE)

Value

A new unanalyzed ddPCR plate

Arguments

plate

A ddPCR plate

type

A ddPCR plate type (see plate_types)

params

List of parameters to set for the plate. Only advanced users should consider using this feature. See new_plate for usage.

keep_type

If TRUE then use keep the same plate type as plate

keep_params

If TRUE then keep the same plate parameters of plate

See Also

plate_types
new_plate

Examples

Run this code
if (FALSE) {
plate <- new_plate(sample_data_dir(), type = plate_types$custom_thresholds)
plate <- reset(plate, type=plate_types$fam_positive_pnpp)
} 

Run the code above in your browser using DataLab