write_A3json: Write 'A3' object to JSON file

View source: R/a3.R

write_A3jsonR Documentation

Write A3 object to JSON file

Description

Write A3 object to JSON file

Usage

write_A3json(x, filepath, overwrite = FALSE)

Arguments

x

A3 object.

filepath

Character: Path to save JSON file.

overwrite

Logical: If TRUE, overwrite existing file.

Value

Invisible x. Writes JSON file as side effect.

Author(s)

EDG

Examples

a3 <- create_A3("MAEPRQEFEVMEDHAGTYGLGDRK", uniprot_id = "P10636")
tmp <- tempfile(fileext = ".json")
write_A3json(a3, tmp)
a3_read <- read_A3json(tmp)
unlink(tmp)

rtemis.a3 documentation built on April 29, 2026, 1:06 a.m.