获取差异化表达热力图数据
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>获取差异化表达热力图数据</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://119.136.27.201:3200/discovery/differential</code>
<h5>请求方式</h5></li>
<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>
<tr>
<td style="text-align: left;">offset</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>分页偏移量, offset = begin - 1</td>
</tr>
<tr>
<td style="text-align: left;">limit</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>分页大小, limit = end - offset</td>
</tr>
<tr>
<td style="text-align: left;">compounds</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>Compound筛选,多选以“,”分隔</td>
</tr>
<tr>
<td style="text-align: left;">gene</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>搜索框gene筛选,多选以“,”分隔</td>
</tr>
<tr>
<td style="text-align: left;">sort_gene</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>选定用于排序的基因名称(Sort compound by:Gene Name),默认HTT</td>
</tr>
<tr>
<td style="text-align: left;">log2fc_desc</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">int</td>
<td>log2fc排序选项 DESC: 1, ASC: 0,默认0</td>
</tr>
<tr>
<td style="text-align: left;">q_value</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">number</td>
<td>q_qvalue值筛选。默认0.05</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<p>``` {
"data": {
"htt_activity": [{
"compound": "RC00000450-20230206",
"htt_activity": "potent",
"activity_value": 237.2
}, {
"compound": "RC00000468-20230206",
"htt_activity": "potent",
"activity_value": 665.9
}, {
"compound": "RC00000479-20230206",
"htt_activity": "weak",
"activity_value": 1176.0
}, {
"compound": "RC00000441-20230206",
"htt_activity": "negative",
"activity_value": 11026.0
}],
"heatmap": [{
"gene": "PCBP2",
"count": 4,
"compounds": [{
"compound": "RC00000450-20230206",
"value": {
"log10_qvalue": 2.139,
"log2_fc": -0.132
}
}, {
"compound": "RC00000468-20230206",
"value": {
"log10_qvalue": 1.868,
"log2_fc": -0.125
}
}, {
"compound": "RC00000479-20230206",
"value": {
"log10_qvalue": 3.155,
"log2_fc": -0.18
}
}, {
"compound": "RC00000441-20230206",
"value": {
"log10_qvalue": 2.279,
"log2_fc": -0.148
}
}]
}, {
"gene": "SC5D",
"count": 4,
"compounds": [{
"compound": "RC00000450-20230206",
"value": {
"log10_qvalue": 1.279,
"log2_fc": -0.117
}
}, {
"compound": "RC00000468-20230206",
"value": {
"log10_qvalue": 1.099,
"log2_fc": -0.114
}
}, {
"compound": "RC00000479-20230206",
"value": {
"log10_qvalue": 1.804,
"log2_fc": -0.171
}
}, {
"compound": "RC00000441-20230206",
"value": {
"log10_qvalue": 1.958,
"log2_fc": -0.163
}
}]
}, {
"gene": "VPS13A",
"count": 4,
"compounds": [{
"compound": "RC00000450-20230206",
"value": {
"log10_qvalue": 2.034,
"log2_fc": -0.155
}
}, {
"compound": "RC00000468-20230206",
"value": {
"log10_qvalue": 1.918,
"log2_fc": -0.161
}
}, {
"compound": "RC00000479-20230206",
"value": {
"log10_qvalue": 1.276,
"log2_fc": -0.138
}
}, {
"compound": "RC00000441-20230206",
"value": {
"log10_qvalue": 1.454,
"log2_fc": -0.155
}
}]
}],
"total": 5255,
"limit": 3,
"offset": 0,
"filter": {
"compound": ["RC00000450-20230206", "RC00000468-20230206", "RC00000479-20230206", "RC00000441-20230206"]
}
},
"code": 200,
"message": "success"
}</p>
<pre><code>
##### 返回参数说明
|参数名|类型|说明|
|:----- |:-----|----- |
|htt_activity|list|Htt activity 横轴颜色数据|
|activity_value|number|Htt activity 横轴取值,范围1-10000,(超过10000按10000显示,小于1按1显示)|
|heatmap|list|热力图表格数据|
|gene|string|纵坐标名称|
|count|number|纵坐标名称旁的数量|
|compounds|list|横坐标数据列表|
|compound|string|横坐标名称|
|value|json|单元格数值|
|log10_qvalue|number|-log10(qvalue)值|
|log2_fc|number|Log2FC 值|
|filter|json|可选筛选项和筛选范围|
##### 备注
V16 增加 q_value筛选字段</code></pre>