ChIPQC | R Documentation |
ChIPQCexperiment
object
Constructs a new ChIPQCexperiment
object.
ChIPQC(experiment, annotation, chromosomes, samples, consensus=FALSE, bCount=FALSE, mapQCth=15, blacklist=NULL, profileWin=400, fragmentLength=125, shifts=1:300, ...)
experiment |
A specification of the ChIP-seq experiment to evaluate.
This can either be a dataframe, a filename for a .csv file,
or a
See the documentation for the |
annotation |
Either a character string indicating the genome and version to use as a genomic annotation, or a previously defined annotation (obtained using
Alternatively, you can construct your own annotation; see the package vignette for more information. |
chromosomes |
Specification of which chromosomes to use for computing QC statistics. If missing, the first chromosome which has a peak is checked. If NULL, all chromosomes will be checked (which may be time-consuming). This can be a character string (e.g. “chr18”) or a vector or list of character strings. If it is an integer or vector of integers, the chromosomes will be checked based on the order that they are listed in a peak set. |
samples |
|
consensus |
If |
bCount |
if |
mapQCth |
An integer representing a mapping quality score threshold. Only reads with mapping quality scores above this threshold will be used for some statistics. |
blacklist |
A |
profileWin |
An integer indicating the width, in base pairs, of the window to be used for peak profiles. Peaks will be centered on their summits, and include half the window size upstream and half downstream of this point. |
fragmentLength |
An integer indicating the expected fragment length of the libraries. Optional, as this value will be computed for each library. |
shifts |
A vector of values to try when computing optimal shift sizes. |
... |
additional parameters passed to |
ChIPQC first constructs a new 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).
A ChIPQCexperiment
object.
ChIPQC uses bplapply
from the BiocParallel
package to build the ChIPQCsample
object in parallel, if supported. Control of the parallelization can be effected using BiocParallel
functions, such as register
.
Thomas Carroll and Rory Stark
ChIPQC-package, ChIPQCexperiment, ChIPQCsample, DiffBind
## 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.