Skip to content

Commit 1779f9e

Browse files
committed
#75: fix fancy spectratype
1 parent 8c2f62b commit 1779f9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/groovy/com/antigenomics/vdjtools/basic/PlotFancySpectratype.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ for (int i = 0; i < spectratype.span; i++) {
9494
topClonotypes.eachWithIndex { it, ind ->
9595
def bin = spectratype.bin(it)
9696
spectraMatrix[bin][top - ind] = it.freq
97+
spectraMatrix[bin][0] = spectraMatrix[bin][0] - it.freq
9798
}
9899

99100
def table = "Len\tOther\t" + topClonotypes.reverse().collect { it.cdr3aa }.join("\t")

0 commit comments

Comments
 (0)