### Load TranscriptionDataSet object
data(tds)
### Load ChipDataSet object
data(cds)
### Load reference annotations (knownGene from UCSC)
data(annot)
### Detect transcripts
detectTranscripts(object = tds, coverage.cutoff = 5, gap.dist = 4000,
estimate.params = TRUE, combine.by.annot = FALSE, annot = annot)
### 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)
### If `estimate.params = TRUE`, FPKM and coverage density will be re-calculated
breakTranscriptsByPeaks(tdsObj = tds, cdsObj = cds, estimate.params = TRUE)
### View detected transcripts
getTranscripts(tds)
Run the code above in your browser using DataLab