Skip to content

Commit

Permalink
Updated the combined.js
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Nov 20, 2016
1 parent 14b6cb7 commit 548df0d
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions src/combined.js
Original file line number Diff line number Diff line change
Expand Up @@ -3151,6 +3151,17 @@ PathwaySearch.prototype.information = function(URI, lens, callback) {

}

/**
* Get a list of pathways in which the given compound is active.
* @param {string} URI - URI of the compound (e.g.: "http://purl.obolibrary.org/obo/CHEBI_57305")
* @param {string} [organism] - Restricts to pathways in this organism, if given
* @param {string} [lens] - The Lens name
* @param {string} [page=1] - Which page of records to return.
* @param {string} [pageSize=10] - How many records to return. Set to 'all' to return all records in a single page
* @param {string} [orderBy] - Order the records by this field eg ?assay_type or DESC(?assay_type)
* @param {requestCallback} callback - Function that will be called with the result.
* @method
*/
PathwaySearch.prototype.byCompound = function(URI, organism, lens, page, pageSize, orderBy, callback) {
params = {};
params['_format'] = "json";
Expand Down Expand Up @@ -3182,6 +3193,14 @@ PathwaySearch.prototype.byCompound = function(URI, organism, lens, page, pageSiz

}

/**
* Get a count of the list of pathways in which the given compound is active.
* @param {string} URI - URI of the compound (e.g.: "http://purl.obolibrary.org/obo/CHEBI_57305")
* @param {string} [organism] - Restricts to pathways in this organism, if given
* @param {string} [lens] - The Lens name
* @param {requestCallback} callback - Function that will be called with the result.
* @method
*/
PathwaySearch.prototype.countPathwaysByCompound = function(URI, organism, lens, callback) {
params = {};
params['_format'] = "json";
Expand All @@ -3208,6 +3227,17 @@ PathwaySearch.prototype.countPathwaysByCompound = function(URI, organism, lens,

}

/**
* Get a list of pathways in which the given target is active.
* @param {string} URI - URI of the target (e.g.: "http://identifiers.org/ncbigene/282478")
* @param {string} [organism] - Restricts to pathways in this organism, if given
* @param {string} [lens] - The Lens name
* @param {string} [page=1] - Which page of records to return.
* @param {string} [pageSize=10] - How many records to return. Set to 'all' to return all records in a single page
* @param {string} [orderBy] - Order the records by this field eg ?assay_type or DESC(?assay_type)
* @param {requestCallback} callback - Function that will be called with the result.
* @method
*/
PathwaySearch.prototype.byTarget = function(URI, organism, lens, page, pageSize, orderBy, callback) {
params = {};
params['_format'] = "json";
Expand Down Expand Up @@ -3239,6 +3269,14 @@ PathwaySearch.prototype.byTarget = function(URI, organism, lens, page, pageSize,

}

/**
* Get a count of the list of pathways in which the given target is active.
* @param {string} URI - URI of the target (e.g.: "http://identifiers.org/ncbigene/282478")
* @param {string} [organism] - Restricts to pathways in this organism, if given
* @param {string} [lens] - The Lens name
* @param {requestCallback} callback - Function that will be called with the result.
* @method
*/
PathwaySearch.prototype.countPathwaysByTarget = function(URI, organism, lens, callback) {
params = {};
params['_format'] = "json";
Expand Down Expand Up @@ -3303,6 +3341,19 @@ PathwaySearch.prototype.getTargets = function(URI, lens, callback) {

}

/**
* Get a list of compounds that are part of the pathway specified
* @param {string} URI - URI of the pathway (e.g.: "http://identifiers.org/wikipathways/WP1008")
* @param {string} [lens] - The Lens name
* @param {requestCallback} callback - Function that will be called with the result.
* @method
* @example
* var searcher = new PathwaySearch("https://beta.openphacts.org/1.5", "appID", "appKey");
* var callback=function(success, status, response){
* var compounds = searcher.parseGetCompoundsResponse(response);
* };
* searcher.getCompounds('http://identifiers.org/wikipathways/WP1008', null, callback);
*/
PathwaySearch.prototype.getCompounds = function(URI, lens, callback) {
params = {};
params['_format'] = "json";
Expand Down Expand Up @@ -3447,6 +3498,13 @@ PathwaySearch.prototype.getReferences = function(URI, lens, callback) {

}

/**
* Get a count of the pathways
* @param {string} [organism] - Restricts to pathways in this organism, if given
* @param {string} [lens] - The Lens name
* @param {requestCallback} callback - Function that will be called with the result.
* @method
*/
PathwaySearch.prototype.countPathways = function(organism, lens, callback) {
params = {};
params['_format'] = "json";
Expand Down Expand Up @@ -3559,6 +3617,16 @@ PathwaySearch.prototype.getInteractionsByEntity = function(URI, organism, direct

}

/**
* Get the pathways
* @param {string} [organism] - Restricts to pathways in this organism, if given
* @param {string} [lens] - The Lens name
* @param {string} [page=1] - Which page of records to return.
* @param {string} [pageSize=10] - How many records to return. Set to 'all' to return all records in a single page
* @param {string} [orderBy] - Order the records by this field eg ?assay_type or DESC(?assay_type)
* @param {requestCallback} callback - Function that will be called with the result.
* @method
*/
PathwaySearch.prototype.list = function(organism, lens, page, pageSize, orderBy, callback) {
params = {};
params['_format'] = "json";
Expand Down Expand Up @@ -3589,6 +3657,15 @@ PathwaySearch.prototype.list = function(organism, lens, page, pageSize, orderBy,

}

/**
* Get the organisms
* @param {string} [lens] - The Lens name
* @param {string} [page=1] - Which page of records to return.
* @param {string} [pageSize=10] - How many records to return. Set to 'all' to return all records in a single page
* @param {string} [orderBy] - Order the records by this field eg ?assay_type or DESC(?assay_type)
* @param {requestCallback} callback - Function that will be called with the result.
* @method
*/
PathwaySearch.prototype.organisms = function(lens, page, pageSize, orderBy, callback) {
params = {};
params['_format'] = "json";
Expand Down

0 comments on commit 548df0d

Please sign in to comment.