analyze {ddpcr}R Documentation

Run analysis on a ddPCR plate

Description

Every ddPCR plate has a set of defined steps that are taken in order, that together constitute "analyzing" the plate. Calling the analyze function will perform all the analysis steps, which may take several minutes. Running the analysis will classify the droplets in the plate into clusters (available via plate_data) and will add variables to the plate metadata (available via plate_meta).

Usage

analyze(plate, restart = FALSE)

Arguments

plate

A ddPCR plate

restart

If TRUE, then run the analysis from the beginning; othrewise, continue from the last step that was performed.

Details

This function will run an analysis to completion. If you want to run each step one at a time, use next_step.

Value

The analyzed ddPCR plate

Note

Most analysis steps result in some progress messages being printed to the screen. You can turn off these messages by disabling the verbose option with the command options(ddpcr.verbose = FALSE).

See Also

next_step
plot.ddpcr_plate
new_plate
steps
plate_data
plate_meta

Examples

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

## End(Not run) 

[Package ddpcr version 1.15.2 Index]