diff --git a/index.html b/index.html index 49fe93d..8f4c57d 100644 --- a/index.html +++ b/index.html @@ -303,5 +303,5 @@ diff --git a/misc/ot.sh b/misc/ot.sh index 3a1bd76..9e62920 100644 --- a/misc/ot.sh +++ b/misc/ot.sh @@ -9,7 +9,84 @@ Rscript -e ' ERAP2$ensGenes data <- jsonlite::fromJSON("ERAP2.json") diseases_data <- data$data$target$associatedDiseases$rows - library(tidyr) - diseases_data <- unnest(diseases_data, cols = everything(), names_sep = "_") + diseases_data <- tidyr::unnest(diseases_data, cols = everything(), names_sep = "_") write.table(diseases_data, file = "ERAP2.tsv", sep = "\t", row.names = FALSE, quote = FALSE) ' + +# https://platform-docs.opentargets.org/data-access/graphql-api + +## Python: Used directly without change + +python3 <