Commit 2b614cee authored by Marek Ostaszewski's avatar Marek Ostaszewski
Browse files

Merge branch 'repo_update' into 'master'

small update

See merge request !288
parents 6bb36b61 dd38f3a5
......@@ -13,7 +13,7 @@ source("https://git-r3lab.uni.lu/covid/models/-/raw/master/Integration/MINERVA_a
### The address of the COVID-19 Disease Map in MINERVA
map <- "https://covid19map.elixir-luxembourg.org/minerva/api/"
components <- get_map_components(map)
components <- get_map_components(map, project_id = "covid19_map_11Mar21")
### You may want to save components to JSON if you want to explore the structure of MINERVA's output
......@@ -35,6 +35,7 @@ get_annotations <- function(model_elements, annotation_type) {
}
### Get all HGNC symbols
all_hgncs <- sapply(components$map_elements, get_annotations, "HGNC_SYMBOL")
all_hgncs <- lapply(components$map_elements,
function(x) lapply(x$references, get_annotation, "HGNC_SYMBOL"))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment