Skip to content

Commit

Permalink
testing sparse input
Browse files Browse the repository at this point in the history
  • Loading branch information
timydaley committed Feb 15, 2019
1 parent 2e18d6e commit 29d6712
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/read_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ getCountsMatrix <- function(bamfiles, peaks, PAIRED = FALSE,
VERBOSE = FALSE){
peaks.gr = peaks2GRanges(peaks)
if(VERBOSE){
print("beginning reading in counts\n")
message("beginning reading in counts\n")
}
if(byReadGroup){
if(VERBOSE){
message("getting counts by read group\n")
message("read group tag = ", RGtag, "\n")
}
stopifnot(length(bamfiles) == 1)
counts_mat = getCountsByReadGroup(bamfiles, peaks.gr, tag = RGtag,
counts_mat = getCountsByReadGroup(bamfiles, peaks.gr, RGtag = RGtag,
tags2include);
rownames(counts_mat) = peaks$name
}
Expand Down

0 comments on commit 29d6712

Please sign in to comment.