Skip to content
Snippets Groups Projects

Resolve "Implement CpG isladns analysis"

Merged Michal Petrovič requested to merge 9-implement-cpg-isladns-analysis into main
Viewing commit a584ef26
Prev
Show latest version
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
@@ -8,11 +8,11 @@
</h2>
<!-- overview -->
<div v-show="zdnaList">
<div v-show="cpgList">
<heatchart
v-if="heatmapData"
:data="heatmapData"
y-axis-title="Count (Z-DNA)"
y-axis-title="Count (CpG)"
@dataPointClick="showSegment"
@onZoom="zoomHeatchart"
></heatchart>
@@ -91,7 +91,7 @@
<sort-toggle @sort="sortSequences" crit="length" :current="currentSort">Length</sort-toggle>
</th>
</tr>
<template v-for="zdna in zdnaList">
<template v-for="zdna in cpgList">
<tr>
<td>
{{ zdna.position | number(0) }}
@@ -114,7 +114,7 @@
</table>
</pagination>
<div v-show="zdnaList && zdnaList.length === 0">
<div v-show="cpgList && cpgList.length === 0">
<p class="alert alert-warning">
No CpG islands found.
</p>
@@ -141,7 +141,7 @@ export default {
data() {
return {
sequence: null,
zdnaList: null,
cpgList: null,
avgZdnaLen: null,
totalZdnaLenM1: null,
totalZdnaLenM2: null,
@@ -181,7 +181,7 @@ export default {
.then(response => {
this.$refs.pagination.setPageCount(response.data.page.totalElements)
Helpers.setUIState(response.data.items, 'showDetails', false)
this.zdnaList = response.data.items
this.cpgList = response.data.items
this.countNucleic()
})
},