All URIs are relative to https://localhost/api
Method | HTTP request | Description |
---|---|---|
getRelationUsageBetweenResource | GET /relation/usage/between/{subject_category}/{object_category} | All relations used plus count of associations |
getRelationUsagePivotLabelResource | GET /relation/usage/pivot/label | Relation usage count for all subj x obj category combinations, showing label |
getRelationUsagePivotResource | GET /relation/usage/pivot/ | Relation usage count for all subj x obj category combinations |
getRelationUsageResource | GET /relation/usage/ | All relations used plus count of associations |
[AssociationResults] getRelationUsageBetweenResource(objectCategory, subjectCategory, opts)
All relations used plus count of associations
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.RelationusageApi();
var objectCategory = "objectCategory_example"; // String |
var subjectCategory = "subjectCategory_example"; // String |
var opts = {
'subjectTaxon': "subjectTaxon_example", // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
'evidence': "evidence_example" // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getRelationUsageBetweenResource(objectCategory, subjectCategory, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
objectCategory | String | ||
subjectCategory | String | ||
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[AssociationResults] getRelationUsagePivotLabelResource(opts)
Relation usage count for all subj x obj category combinations, showing label
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.RelationusageApi();
var opts = {
'subjectTaxon': "subjectTaxon_example", // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
'evidence': "evidence_example" // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getRelationUsagePivotLabelResource(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[AssociationResults] getRelationUsagePivotResource(opts)
Relation usage count for all subj x obj category combinations
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.RelationusageApi();
var opts = {
'subjectTaxon': "subjectTaxon_example", // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
'evidence': "evidence_example" // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getRelationUsagePivotResource(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[AssociationResults] getRelationUsageResource(opts)
All relations used plus count of associations
var BioLinkApi = require('bio_link_api');
var apiInstance = new BioLinkApi.RelationusageApi();
var opts = {
'subjectTaxon': "subjectTaxon_example", // String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default
'evidence': "evidence_example" // String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getRelationUsageResource(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
subjectTaxon | String | SUBJECT TAXON id, e.g. NCBITaxon:9606. Includes inferred by default | [optional] |
evidence | String | Object id, e.g. ECO:0000501 (for IEA; Includes inferred by default) or a specific publication or other supporting ibject, e.g. ZFIN:ZDB-PUB-060503-2. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json