predictStrand(cdsObj, tdsObj, coverage.cutoff, quant.cutoff = 0.1,
win.size = 2500, prob.cutoff)## S3 method for class 'ChipDataSet,TranscriptionDataSet':
predictStrand(cdsObj, tdsObj,
coverage.cutoff, quant.cutoff = 0.1, win.size = 2500, prob.cutoff)
ChipDataSet
object.TranscriptionDataSet
object.Numeric
. A cutoff value to discard regions with
the low fragments coverage, representing expression noise. By default,
the value stored in the coverageCutoff
slot of the supplied
TranscriptionDataSet
object is used. The optimal cutoff value can
be calculated by estimateBackground
function call.Numeric
. A cutoff value for the cumulative
distribution of the RNA-seq signal along the ChIP-seq peak region. Must
be in a range (0, 1). For the details, see step 1 in the "Details"
section below. Default: 0.1.Numeric
. The size of the q1 and q2 regions
flanking transcription start position at the 5' and 3', respectively.
For the details, see step 2 in the "Details" section below.
Default: 2500.Numeric
. A cutoff value for the probability of reads
to be sampled from the q2 flanking region. If not supplied, the value
estimated from the data will be used. Must be in a range (0, 1). For the
details, see step 6 in the "Details" section below.strandPrediction
of the provided
ChipDataSet
object will be updated by the the following
elements: 'predicted.strand', 'probability.cutoff', 'results.plus' and
'results.minus'.Each peak in the data set is tested for association with transcription initiation on both strands of DNA. Steps 1-5 are performed for both forward and reverse DNA strand separately and step 6 combines the data from both strands. If the peak is identified as associated with the transcription on both strands, than it is considered to be a bidirectional.
ChIP peak 'strandedness' prediction steps:
ChipDataSet
constructCDS
### Load TranscriptionDataSet object
data(tds)
### Load ChipDataSet object
data(cds)
### Classify peaks on gene associated and background
predictTssOverlap(object = cds, feature = "pileup", p = 0.75)
### Predict peak 'strand'
predictStrand(cdsObj = cds, tdsObj = tds, coverage.cutoff = 5,
quant.cutoff = 0.1, win.size = 2500)
### View a short summary of the 'strand' prediction
cds
### View 'strand' prediction
getPeaks(cds)
Run the code above in your browser using DataLab