R/getMatchingSources.R

Defines functions getMatchingSources

Documented in getMatchingSources

getMatchingSources<- function(identifier){
 set <- .jcall(
            "org/bridgedb/DataSourcePatterns",
	    "Ljava/util/Set;",
	    "getDataSourceMatches",identifier)
 str <- strsplit(set$toString(),"\\[")
 str <- strsplit(str[[1]][2],"\\]")
 str <- strsplit(str[[1]][1],", ")
 unlist(str)
}

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.