Write a PMO object to a file
write_pmo.RdInformation on final microhaplotype results from a targeted amplicon analysis with associated meta data.
Arguments
- pmo
A
PortableMicrohaplotypeObjectinstance.- path
Output path.
- pretty
Logical; pretty-print the JSON.
- auto_unbox
Logical; passed to
jsonlite::toJSON().- validate
Logical; if
TRUE, validate before writing.- ...
Additional arguments passed through to
to_json().
Examples
pmo <- read_pmo(
system.file('extdata', 'example_pmo.json.gz', package = 'pmotoolsr'))
write_pmo(pmo, tempfile(fileext = '.json'))