readIntervalFile {PureCN} | R Documentation |
Read file containing coordinates of on- and off-target intervals
generated by preprocessIntervals
.
readIntervalFile(interval.file, strict = TRUE, verbose = TRUE)
interval.file |
A mapping file that assigns GC content and gene symbols
to each exon in the coverage files. Used for generating gene-level calls.
First column in format CHR:START-END. Second column GC content (0 to 1).
Third column gene symbol. This file is generated with the
|
strict |
Error out with missing columns |
verbose |
Verbose output |
A GRanges
object with the parsed intervals.
Markus Riester
interval.file <- system.file("extdata", "example_intervals.txt", package = "PureCN") x <- readIntervalFile(interval.file)