Skip to content

Commit

Permalink
allow reads to map to overlapping feature for summarizeOverlaps
Browse files Browse the repository at this point in the history
fixes #96
  • Loading branch information
alexg9010 committed May 22, 2019
1 parent 588d785 commit 0ef9ef5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/Peak_Statistics.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ Peak_Statistics = function(
sub = subset(peaks_sheet, library==x)
if(nrow(sub) > 0){
bam_files = BamFileList(unique(sub$bam_file), yieldSize = 100000)
summarizeOverlaps(peaks, bam_files, singleEnd = x == 'single', ignore.strand=TRUE)
summarizeOverlaps(peaks, bam_files, singleEnd = x == 'single', ignore.strand=TRUE,
inter.feature = FALSE)
}else{
NULL
}
Expand Down

0 comments on commit 0ef9ef5

Please sign in to comment.