ChIPQCexperiment
object
ChIPQCexperiment
object.
ChIPQC(experiment, annotation, chromosomes, samples, consensus=FALSE, bCount=FALSE, mapQCth=15, blacklist=NULL, profileWin=400, fragmentLength=125, shifts=1:300, ...)
DBA
object as defined in the DiffBind
package.
Columns names in sample sheet may include:
dba.peakset
See the documentation for the sampleSheet
parameter of dba
for details.
QCannotation
on a previously defined ChIPQCexperiment
object.) May be left unspecified, in which case no genomic feature analysis is performed. The following annotation specifiers are supported:
Alternatively, you can construct your own annotation; see the package vignette for more information.
list
of ChIPCsample
objects. If present, the sample objects will be taken directly from this list instead of being computed using the ChIPQCsample
constructor.
consensus
is a GRanges
object, all samples will use this peakset when computing peak-based metrics. If consensus=TRUE
, a consensus peakset will be generated and used for all samples, derived by merging overlapping peaks in all provided peaksets, keeping any peaks that overlap in at least two samples To avoid this behavior, set consensus=FALSE
; this will result in only supplied peaksets being used for calculation of peak-based metrics (and no peak-based metric being computed for samples with no peakset specified, such as controls).
TRUE
, the peak scores for all samples will be based on read counts using dba.count
using a consensus peakset. If consenus
is missing, any samples (such as controls) that are not already associated with a peakset will be associated with the consensus peakset (if consensus
is not missing, all samples will be associated with the consensus peakset). Note that the re-counting process may be time-consuming.
GRanges
object or filename specifying a bed file containing genomic regions that should be excluded from the analysis. If missing and the annotation
is hg19, a default blacklist, blacklist_hg19
derived from the UCSC list, will be used. No blacklist is used if this is set to NULL, or is left missing and the annotation is not hg19.
dba.count
if bCount=TRUE
.
ChIPQCexperiment
object.
DBA
object if one is not provided. Next it computes the annotation if one is not provided. The main loop constructs new ChIPQCsample
objects for each sample (and unique control sample).
## Not run: exampleExp = ChIPQC(samples,annotation="hg19")
data(example_QCexperiment)
exampleExp
## Not run: tamoxifen = ChIPQC(samples, ,annotation="hg19", consensus=TRUE, bCounts=T)
data(tamoxifen_QC)
tamoxifen
Run the code above in your browser using DataLab