Skip to content

Commit

Permalink
use readGAlignments() instead of readGAlignmentsFromBam()
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/ChIPQC@98316 bc3139a8-67e5-0310-9ffc-ced21a209358
  • Loading branch information
Herve Pages committed Jan 14, 2015
1 parent 303d488 commit e386fb8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: ChIPQC
Type: Package
Title: Quality metrics for ChIPseq data
Version: 1.3.0
Version: 1.3.1
Date: 2014-05-12
Author: Tom Carroll, Wei Liu, Ines de Santiago, Rory Stark
Maintainer: Tom Carroll <[email protected]>, Rory Stark <[email protected]>
Expand Down
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ importMethodsFrom(BiocGenerics, as.data.frame, as.vector, cbind,

importMethodsFrom(BiocParallel, bplapply)

importMethodsFrom(GenomicAlignments, readGAlignmentsFromBam)
importMethodsFrom(GenomicAlignments, readGAlignments)

importMethodsFrom(IRanges, as.list, as.matrix, "colnames<-",
countOverlaps, coverage, end, flank, gsub, mean, median,
Expand Down
2 changes: 1 addition & 1 deletion R/sampleQC.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sampleQC <- function(bamFile,bedFile=NULL,blklist=NULL,ChrOfInterest=NULL,GeneAn

Param <- ScanBamParam(which=GRanges(seqnames=names(ChrLengths)[k],IRanges(start=1,end=unname(ChrLengths[names(ChrLengths) == names(ChrLengths)[k]])-shiftWindowEnd)),
what=c("flag","mapq"))
temp <- readGAlignmentsFromBam(bamFile,param=Param)
temp <- readGAlignments(bamFile,param=Param)
if(length(temp) < 1){

emptyChr_SSD <- 0
Expand Down

0 comments on commit e386fb8

Please sign in to comment.