This function calculates the semantic similarity object for an organism. It then stores this within the TimeSeries object and returns it. If the function is used for Vignettes, it will use pre-loaded data for that organism.
add_semantic_similarity_data(object, ont_sem_sim, vignette_run = FALSE)
The updated time object
TS_object <- create_example_object_for_R()
TS_object <- add_semantic_similarity_data(TS_object,ont_sem_sim='BP',vignette_run=TRUE)