Skip to content

Instantly share code, notes, and snippets.

View cells2numbers's full-sized avatar

Tim Becker cells2numbers

  • IAV GmbH
  • Gifhorn, Germany
View GitHub Profile
#!/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)
@cells2numbers
cells2numbers / 0_reuse_code.js
Created March 13, 2017 18:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console