Learn R Programming

epos (version 1.1)

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

Description

Receives a sorted hashmap with found entities from a dictionary

Usage

getTermMatrix(dictionary, database, collection)

Value

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

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

database

the name of the MongoDB database to be used

collection

the name of the MongoDB collection to be used

Examples

Run this code
if (FALSE) {
mesh <- getTermMatrix("MeSH")
}

Run the code above in your browser using DataLab