Description Usage Arguments Details Value Author(s) Examples
View source: R/readPeakFiles.R
This function can read peak file in standard BED file using import.bed or data.frame like object using makeGRangesFromDataFrame and stored in GRanges object, where several peak files can be read simultaneously using lapply. Note that some data sources provide ChIP-Seq enriched regions without p-value under specific conditions. In our workflow, we are going to evaluate each peak interval with p-value threshold, so represent peak's score as p-value is needed.
1 | readPeakFiles(peakFolder, pvalueBase = 1L, verbose = FALSE)
|
peakFolder |
ChipSeq peak replicate either in BED format or data.frame |
pvalueBase |
User has option to select p-value format (- log(p.value), -10 log(p.value), -100 log(p.value)) |
verbose |
logical that control whether the output is printed or not |
Passed to denoise_ERs
GRanges object
Jurat Shahidin
1 2 3 4 5 6 | require(rtracklayer)
require(GenomicRanges)
## get bed file
files <- getPeakFile()[1:3]
readPeakFiles(files, pvalueBase=1L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.