Skip to content

Commit

Permalink
2020/05/11-13:00:25 (Linux elcattivo.molgen.mpg.de unknown)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbenner committed May 11, 2020
1 parent 8589158 commit 1f6be49
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 1,087 deletions.
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

VERSION = 1.2.2
VERSION = 1.2.3
FILES = modhmm.go $(filter-out %_gen.go %_test.go modhmm.go,$(wildcard *.go))
FILES_DEP = modhmm.go $(filter-out %_test.go modhmm.go,$(wildcard *.go config/*.go))
GOBIN = $(shell echo $${GOPATH}/bin)
Expand Down
10 changes: 5 additions & 5 deletions modhmm_chromatin_state_classifiers.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (obj ClassifierPA) Eval(s Scalar, x ConstMatrix) error {
}

func (ClassifierPA) Dims() (int, int) {
return 8, 5
return 8, 9
}

func (ClassifierPA) CloneMatrixBatchClassifier() MatrixBatchClassifier {
Expand All @@ -213,20 +213,20 @@ func (obj ClassifierEA) Eval(s Scalar, x ConstMatrix) error {
r *= obj.PeakSym_(x, jH3k27ac, 0, 1)
}
{ // h3k4me1 peak at any position
r *= obj.PeakAnyRange(x, jH3k4me1, 1, 6)
r *= obj.PeakAnyRange(x, jH3k4me1, 2, 7)
}
{ // no h3k4me3 peak at all positions
r *= obj.NoPeakRange(x, jH3k4me3, 1, 6)
r *= obj.NoPeakAll(x, jH3k4me3)
}
{ // no control peak at all positions
r *= obj.NoPeakRange(x, jControl, 1, 6)
r *= obj.NoPeakAll(x, jControl)
}
s.SetValue(r)
return nil
}

func (ClassifierEA) Dims() (int, int) {
return 8, 7
return 8, 9
}

func (ClassifierEA) CloneMatrixBatchClassifier() MatrixBatchClassifier {
Expand Down
18 changes: 9 additions & 9 deletions modhmm_default.go

Large diffs are not rendered by default.

Loading

0 comments on commit 1f6be49

Please sign in to comment.