Learn R Programming

gson (version 0.1.0)

read.gson: read and write gson file

Description

read and write gson file

Usage

read.gson(file)

write.gson(x, file = "")

Value

A GSON instance

Arguments

file

A gson file

x

A GSON instance

Examples

Run this code
wpfile <- system.file('extdata', "wikipathways-20220310-gmt-Homo_sapiens.gmt", package='gson')
x <- read.gmt.wp(wpfile, output = "GSON")
f = tempfile(fileext = '.gson')
write.gson(x, f)
read.gson(f)

Run the code above in your browser using DataLab