getTermMatrix: Receives a sorted hashmap with found entities from a...

Description Usage Arguments Value Examples

View source: R/readDictionaryStatsFromMongo.R

Description

Receives a sorted hashmap with found entities from a dictionary

Usage

1
getTermMatrix(dictionary, collection)

Arguments

dictionary

Character vector that is the name of a dicitonary having pre-calculated stats. This can be MeSH, DrugBank, Agrovoc, EpSO, ESSO, or EPILONT

collection

the name of the MongoDB collection to be used

Value

a sorted hashmap containing all found entities from the respective dictionaries with frequencies

Examples

1
2
3
4
## Not run: 
mesh <- getTermMatrix("MeSH")

## End(Not run)

ZBMEDLABS/epilepsyontologysimilarities documentation built on Aug. 23, 2019, 1:18 p.m.