Here we provide documentation on how to retrieve pre-processed dataset from our CaDrA’s web portal. All successful responses are returned in JSON. Only queries that respond with a 200 response code is considered successful.

Here are standard HTTP codes that you will find in the Status element of the response body:

Status Code Description
200 OK Standard HTTP successful response
404 Bad Request or Source Not Found Standard HTTP invalid request response
500 Internal Server Error There was an unexpected error on our server. If you see this error, please notify us about the issue on our GitHub page


API_Server: https://montilab.bu.edu/CaDrA_API


There are four data sources that currently available from the API.

Data Description Return
get_feature_set a list of pre-proccessed feature sets available on CaDrA’s web portal data frame
get_input_score a list of input scores associated with a particular feature set available on CaDrA’s web portal data frame
get_gene_expression a gene expression set associated with a particular feature set available on CaDrA’s web portal data frame
download_feature_set a bundle of RDS files for a given feature set. Users also have the option to whether or not to include input scores and gene expression set that associated with that feature set. zip file


get_feature_set

/get_feature_set Return a list of pre-proccessed feature sets available on CaDrA’s web portal

get_input_score

/get_input_score Return a list of input scores associated with a given feature set available on CaDrA’s web portal

get_gene_expression

/get_gene_expression Return a gene expression set associated with a given feature set available on CaDrA’s web portal

download_feature_set

/download_feature_set Return a zip file with a bundle of RDS files for a given feature set. Users also have the option to whether or not to include input scores and gene expression set that associated with that feature set.