Skip to content

Commit

Permalink
Merge pull request #14 from simernes/master
Browse files Browse the repository at this point in the history
Setting Hetero to 0 for cases when extraHetero is <= 0 and Hetero is never set
  • Loading branch information
haasek authored Jul 10, 2017
2 parents 13a5f3c + a7fa9bb commit 2313352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ASCAT/R/ascat.R
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,8 @@ ascat.predictGermlineGenotypes = function(ASCATobj, platform = "AffySNP6") {
Undecided = sum(is.na(Hom))

extraHetero = round(min(proportionHetero * length(Tumor_BAF_noNA),Undecided-proportionOpen*length(Tumor_BAF_noNA)))

Hetero = 0

if(extraHetero>0) {

Expand Down

0 comments on commit 2313352

Please sign in to comment.