R/getProperties.R

Defines functions getProperties

Documented in getProperties

getProperties <- function(mapper){
 capabilities <- mapper$getCapabilities()
 keys = sapply(capabilities$getKeys(), function(key) key$toString())
 values = c()
 for (key in keys) {
  values = c(values, capabilities$getProperty(key))
 }
 data.frame(
   property = keys,
   value    = values
 )
}

Try the BridgeDbR package in your browser

Any scripts or data that you put into this service are public.

BridgeDbR documentation built on Nov. 8, 2020, 5:09 p.m.