Skip to content

Commit

Permalink
Fix dotted line (#921)
Browse files Browse the repository at this point in the history
* Fix the dashed line in plotHeatmap with reference-point TES and sorting by region_length

* fix test
  • Loading branch information
dpryan79 authored Mar 5, 2020
1 parent c7fe893 commit 1c40e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deeptools/plotHeatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def plotMatrix(hm, outFileName,
_len *= 0.5
_reg_len.append((hm.parameters['upstream'][idx] + _len) / hm.parameters['bin size'][idx])
elif hm.parameters['ref point'][idx] == 'TES':
_reg_len.append((hm.parameters['downstream'][idx] - _len) / hm.parameters['bin size'][idx])
_reg_len.append((hm.parameters['upstream'][idx] - _len) / hm.parameters['bin size'][idx])
foo.append(_reg_len)
regions_length_in_bins[idx] = foo

Expand Down
2 changes: 1 addition & 1 deletion galaxy/wrapper/test-data/plotPCA_result2.tabular
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#plotPCA --outFileNameData
Component bowtie2-test1.bam bowtie2-test1.bam Eigenvalue
1 -0.7071067811865476 -0.7071067811865475 4.0
2 -0.7071067811865475 0.7071067811865476 1.2325951644078315e-32
2 -0.7071067811865475 0.7071067811865476 2.49319462166397e-32

0 comments on commit 1c40e47

Please sign in to comment.