All URIs are relative to https://localhost/api
Method | HTTP request | Description |
---|---|---|
getPairSimJaccardResource | GET /pair/sim/jaccard/{id1}/{id2}/ | Get pairwise similarity |
getPairSimJaccardResource(id2, id1, opts)
Get pairwise similarity
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.PairsimApi();
var id2 = "id2_example"; // String | id, e.g. NCBIGene:1200; ZFIN:ZDB-GENE-980528-2059; UniProtKB:P12644
var id1 = "id1_example"; // String | id, e.g. NCBIGene:10891; ZFIN:ZDB-GENE-980526-166; UniProtKB:Q15465
var opts = {
'objectCategory': "objectCategory_example" // String | e.g. disease, phenotype, gene. Two subjects will be compared based on overlap between associations to objects in this category
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
apiInstance.getPairSimJaccardResource(id2, id1, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
id2 | String | id, e.g. NCBIGene:1200; ZFIN:ZDB-GENE-980528-2059; UniProtKB:P12644 | |
id1 | String | id, e.g. NCBIGene:10891; ZFIN:ZDB-GENE-980526-166; UniProtKB:Q15465 | |
objectCategory | String | e.g. disease, phenotype, gene. Two subjects will be compared based on overlap between associations to objects in this category | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json