writeCX: Write RCX to file

View source: R/Json-toJson.R

writeCXR Documentation

Write RCX to file

Description

These function write an RCX object or a CX object to a file.

Usage

writeCX(x, file, verbose = FALSE, pretty = FALSE)

## S3 method for class 'RCX'
writeCX(x, file, verbose = FALSE, pretty = FALSE)

## S3 method for class 'CX'
writeCX(x, file, verbose = FALSE, pretty = FALSE)

Arguments

x

RCX or CX object

file

character; the name of the file to which the data are written

verbose

logical; whether to print what is happening

pretty

logical; adds indentation whitespace to JSON output. Can be TRUE/FALSE or a number specifying the number of spaces to indent. See jsonlite::prettify()

Value

file character; the name of the file to which the data were written

See Also

toCX, rcxToJson, readCX

Examples

NULL

frankkramer-lab/RCX documentation built on Feb. 4, 2023, 5:12 p.m.