# Calculate IA, specify ontology and annotations
ontfile <- system.file("extdata", "mfo_ontology.txt", package="SemDist")
annotations <- system.file("extdata", "MFO_LABELS_TEST.txt", package="SemDist")
computeIA("my", "values", specify.ont=TRUE,
myont=ontfile, specify.annotations=TRUE,
annotfile=annotations)
Run the code above in your browser using DataLab