Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/ChipDataSet-methods.R
The function constructs an object of class ChipDataSet
, which
is a container for holding processed sequencing data and the results of
all downstream analyses. All the slots of the created object are filled
during the workflow by applying specific functions to the object directly.
1 2 3 |
peaks |
A path to a file with peaks. The file needs to have at least 3 columns (tab-separated): chromosome, start (peak), end (peak). The 4th column - name (peak id) is optional. |
reads |
A path to a BAM file with sequencing reads. |
region |
|
TxDb |
|
tssOf |
|
tss.region |
A numeric vector of length two, which specifies the size of TSS region. Default: -2kb to 2kb. |
reduce.peaks |
|
gapwidth |
|
fragment.size |
|
unique |
|
swap.strand |
|
param |
|
The function constructCDS
initializes a
ChipDataSet
object, by providing the paths to the input
files and information relevant to the ChIP-seq library preparation
procedure. During the object construction the following steps are
executed:
The peak information is converted into the object of
GRanges
class.
The genomic distribution of the peaks is evaluated (exonic, intronic, intergenic, TSSs).
Each peak in the data set is functionally characterized:
length
- the length of a peak (in base pairs).
fragments
- total number of fragments overlapping
a peak region.
density
- number of fragments per base pair of
the peak length.
pileup
- highest fragment pileup in each peak
region.
tssOverlap
- overlap (binary, yes/no) of the
peak with the annotated TSS region.
The estimated features are used to predict which of the peaks are gene associated in the analysis downstream.
As many peak-calling algorithms tend to divide broader peaks into the several narrower closely spaced peaks, it is advised to merge these end-to-end peaks to decrease the number of false positives and prevent unnecessary truncation of transcripts in the downstream analysis.
An object of class ChipDataSet
.
Armen R. Karapetyan
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.