.jsonL | R Documentation |
Return data as a list from a JSON list
.jsonL( data, acc, default = as.character(NA), unList = TRUE, returnAllDefault = TRUE )
data |
json list |
acc |
accession name |
default |
default return value |
unList |
logical; whether to unlist the list elements (e.g. for a list of lists return a list of vectors) |
returnAllDefault |
whether to return the vector if all values are the default value (or |
list
Internal function only for convenience
testData = list(list(n="CDKN1B"), list(n="ROCK1", r="BLA"), list(n="SHC1", r="BLUBB"), list(n="IRS1")) RCX:::.jsonL(testData, "r")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.