Description Usage Arguments Value References See Also Examples
Pre-process bidirectional aligned reads data from a single ChIP-Seq experiment to detect candidate regions with a minimum number of forward and reverse reads. These candidate regions will then be processed by PICS.
1 2 3 4 5 6 7 8 9 10 11 |
data |
A |
dataC |
A |
map |
A |
minReads |
A |
minReadsInRegion |
A |
jitter |
A |
dataType |
A |
maxLregion |
A |
minLregion |
A |
An object of class segReadsList
containing the results for all
pre-processed regions.
X. Zhang, G. Robertson, M. Krzywinski, K. Ning, A. Droit, S. Jones, and R. Gottardo, “PICS: Probabilistic Inference for ChIP-seq” arXiv, 0903.3206, 2009.
segReadsList
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Read data
path<-system.file("extdata",package="PICS")
## Note that the col name for the chromosome needs to be space and not chr
dataIP <- read.table(file.path(path, "Treatment_tags_chr21_sort.bed"), header=TRUE,
colClasses = c("factor","integer","integer","factor"))
dataIP <- as(dataIP, "GRanges")
dataCont <- read.table(file.path(path, "Input_tags_chr21_sort.bed"), header=TRUE,
colClasses = c("factor","integer","integer","factor"))
dataCont <- as(dataCont, "GRanges")
map <- read.table(file.path(path, "mapProfileShort"), header=TRUE,
colClasses = c("factor","integer","integer","NULL"))
map <- as(map, "GRanges")
seg <- segmentPICS(dataIP, dataC = dataCont, map = map, minReads = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.