Learn R Programming

ddpcr (version 1.15.2)

save_plate: Save a ddPCR plate

Description

Saves a plate to a file, including all its data, parameters, and current analysis state. The file can be read back later using load_plate. The file is not human-readable - if you want to save the droplets data or the metadata of a plate, then first retrieve the data using plate_data or plate_meta and save it with write.csv.

Usage

save_plate(plate, file)

Value

The given plate, unchanged.

Arguments

plate

Plate object to save.

file

Name of the file where the plate will be saved.

See Also

load_plate

Examples

Run this code
plate <- new_plate(sample_data_dir())
save_plate(plate, "myplate")
unlink("myplate.rds")

Run the code above in your browser using DataLab