Skip to content

Commit

Permalink
Fix bugs related to no calls and custom numbering in IdentifyFailures.R
Browse files Browse the repository at this point in the history
  • Loading branch information
EliseRuark authored Dec 7, 2016
1 parent b113550 commit 1387c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Windows/scripts/IdentifyFailures.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ for(i in 1:length(ExonMedian)){ #tests median coverage for each exon
#}


if(!is.null(exon_numbers)){
if(!is.null(exon_numbers)&any(Exon!="All")){

exons<-read.table(exon_numbers,sep="\t",header=T)

Expand All @@ -157,7 +157,7 @@ if(!is.null(exon_numbers)){

Clinical_Numbering=rep("NA",length(Exon))

Clinical_Numbering[paste(Exon)%in%row.names(failed.calls[Brca,])] = exons$Clinical[a]
Clinical_Numbering[paste(Exon)%in%row.names(failed.calls[Brca,])] = exons$Custom[a]


Failures<-data.frame(Sample,Exon,Types,Gene,Clinical_Numbering,Details)
Expand Down

0 comments on commit 1387c9a

Please sign in to comment.