revir-drug-platform

revir-drug-platform


获取数据集相似性统计

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取数据集相似性统计</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://119.136.27.201:3200/dataset/relation</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> </tbody> </table> <h5>返回示例</h5> <pre><code>{ 'data': { 'nodes': [{ 'size': 2084910, 'tag': None, 'name': 'ChEMBL' },{ 'size': 304001, 'tag': None, 'name': 'Wuxi' }, { 'size': 9, 'tag': None, 'name': 'Draw' }], 'relations': [{ 'nodes': ['ChEMBL', 'DrugBank'], 'weight': 135 }, { 'nodes': ['ChEMBL', 'ZINC'], 'weight': 1 }, { 'nodes': ['PubChem', 'Wuxi'], 'weight': 1 }, { 'nodes': ['Draw', 'Wuxi'], 'weight': 0 }], 'config': { 'DrugBank': ['DRUGBANK_ID', 'SECONDARY_ACCESSION_NUMBERS', 'Name', 'CAS_NUMBER', 'UNII', 'ID', 'SMILES', 'ROMol'], 'ZINC': ['SMILES'], 'Mcule': ['smiles', ' mucule_id'], 'Wuxi': ['Unnamed: 0', 'Pool Plate', 'Pool Well', 'Pool Plate/Well', 'Sample Name', '384 Source Plate Barcode', 'Cmpd ID/Source Plate', 'Vendor 1', 'Vendor 2', 'MW', 'Mformula', 'SMILES'], 'Draw': ['ID', 'smiles', 'ROMol'] } }, 'code': 200, 'message': 'success' }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">nodes</td> <td style="text-align: left;">list</td> <td>数据集(节点)列表,</td> </tr> <tr> <td style="text-align: left;">size</td> <td style="text-align: left;">int</td> <td>数据集数据数量(节点大小)</td> </tr> <tr> <td style="text-align: left;">tag</td> <td style="text-align: left;">string</td> <td>数据集分组(节点颜色), 为null表示未定义分组</td> </tr> <tr> <td style="text-align: left;">relations</td> <td style="text-align: left;">list</td> <td>数据集之间相似关系(节点连线)</td> </tr> <tr> <td style="text-align: left;">nodes</td> <td style="text-align: left;">list</td> <td>数据集列表(连线节点)</td> </tr> <tr> <td style="text-align: left;">weight</td> <td style="text-align: left;">int</td> <td>数据集相似权重(连线粗细), 理论最大值25000, 最小0, 常规数据最大值约2000,最小0</td> </tr> <tr> <td style="text-align: left;">config</td> <td style="text-align: left;">object</td> <td>数据集版号可选范围,用于分版号子库计算关系</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>V2版本新增config 字段用于按版本号划分数据集子库</li> </ul>

页面列表

ITEM_HTML