reset {ddpcr}R Documentation

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)

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

Value

A new unanalyzed ddPCR plate

See Also

plate_types
new_plate

Examples

## Not run: 
plate <- new_plate(sample_data_dir(), type = plate_types$custom_thresholds)
plate <- reset(plate, type=plate_types$fam_positive_pnpp)

## End(Not run) 

[Package ddpcr version 1.15.2 Index]