This file contains hidden or 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
| import pandas as pd # uses pandas python module to view and analyse data | |
| import requests # this is used to access json files | |
| #====================================================================# | |
| # using a list of known targets, find compounds that are active on these targets: | |
| def find_bioactivities_for_targets(targets): | |
| targets = ",".join(targets) # join the targets into a suitable string to fulfil the search conditions of the ChEMBL api |