Description Usage Arguments Value Examples
View source: R/AllConstructors.R
this function creates instances of the class EntityFinder
1 2 | EntityFinder(input, dictionary, options = NA, outDir = tempdir(),
multipleDocs = FALSE)
|
input |
the file, directory, or data frame with the text to annotate |
dictionary |
A dictionary of the type |
options |
an object of class |
outDir |
the directory where the annotated files will be stored |
multipleDocs |
TRUE when multiple documents are loaded from a single file with each row representing a document. The file should have two columns. The first for the unique document identifier and the second for the textual descriptions |
dataframe of annotations
1 2 3 4 5 | obo <- system.file('extdata', 'sample.cs.obo', package='OnassisJavaLibs')
sample_dict <- CMdictionary(input=obo, outputDir=getwd(), synonymType='ALL')
myopts <- CMoptions()
paramValueIndex(myopts) <- 40
entities <- EntityFinder(input=readRDS(system.file('extdata', 'vignette_data', 'GEO_human_chip.rds', package='Onassis')), dictionary=sample_dict, options=myopts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.