dot-jsonV: Return data as a vector from a JSON list

Description Usage Arguments Value Note Examples

Description

Return data as a vector from a JSON list

Usage

1
.jsonV(data, acc, default = NA, returnAllDefault = T)

Arguments

data

json list

acc

accession name

default

default return value

returnAllDefault

whether to return the vector if all values are the default value (or NULL instead)

Value

vector

Note

Internal function only for convenience

Examples

1
2
3
4
5
testData = list(list(n="CDKN1B"),
                list(n="ROCK1", r="BLA"),
                list(n="SHC1", r="BLUBB"),
                list(n="IRS1"))
RCX:::.jsonV(testData, "r")

frankkramer-lab/RCX documentation built on July 14, 2021, 6:33 p.m.