Description Usage Arguments Value Author(s) See Also Examples
A convenient way to explore output of the predictions made on the ChIP peaks is to visualize them in the UCSC genome browser. The peaksToBed function returns a file in BED format, which can be uploaded directly to the genome browser. To improve the visual perception, peaks are color-coded by the predicted strand.
1 2 3 4 5 6 | peaksToBed(object, file, strand.pred.color = c("blue", "red", "green4",
"black"), gene.associated.peaks = TRUE)
## S4 method for signature 'ChipDataSet'
peaksToBed(object, file, strand.pred.color = c("blue",
"red", "green4", "black"), gene.associated.peaks = TRUE)
|
object |
A |
file |
|
strand.pred.color |
|
gene.associated.peaks |
|
A file in the BED format.
Armen R. Karapetyan
constructCDS
predictTssOverlap
predictStrand
UCSC genome browser
BED
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ### Load ChipDataSet object
data(cds)
### Load TranscriptionDataSet object
data(tds)
### Classify peaks on gene associated and background
predictTssOverlap(object = cds, feature = "pileup", p = 0.75)
### Predict peak 'strandedness'
predictStrand(cdsObj = cds, tdsObj = tds, coverage.cutoff = 5,
quant.cutoff = 0.1, win.size = 2500)
# peaksToBed(object = cds, file = "peaks.bed", gene.associated.peaks = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.