This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env RScript | |
# This scripts reads a list of compounds, identified by their chembl ids from a CSV file | |
# given as an input. For each compound it find related targets, optionally filtered by | |
# organism. It saves a mepping between the compound and targets in the output CSV file. | |
# First, we import useful libaries. We need a library to parse JSON and another one to | |
# make HTTP requests. | |
library(jsonlite) | |
library(httr) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |