Skip to content

Commit 1e09799

Browse files
authored
Merge pull request #451 from GoekeLab/fix_denovo_bug
Fix typo in extendAnnotations
2 parents ab68c3f + 88ae480 commit 1e09799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/bambu-extendAnnotations-utilityExtend.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ filterTranscriptsByAnnotation <- function(rowDataCombined, annotationGrangesList
108108
exonRangesCombined <- exonRangesCombined[filterSet]
109109
rowDataCombined <- rowDataCombined[filterSet,]
110110
}
111-
if(sum(filterSet==0) & length(annotationGrangesList)==0) stop(
111+
if(sum(filterSet)==0 & length(annotationGrangesList)==0) stop(
112112
"WARNING - No annotations were provided. Please increase NDR threshold to use novel transcripts")
113113
if(sum(filterSet)==0) message("WARNING - No novel transcripts meet the given thresholds. Try a higher NDR.")
114114
# (3) combine novel transcripts with annotations

0 commit comments

Comments
 (0)