Import genomic signals for given range.

importGenomicSigs(paths, range, cols, format = "BigWig")

Arguments

paths

Vector of character. File path

range

GRanges object. The coordinates.

cols

The colors for each signal.

format

The format of the file.

Value

A list of track object

Examples

library(GenomicRanges)
range <- GRanges('chrX:10000000-11000000')
# get the file folder
extdata <- system.file('extdata', 'ChAIR', package = 'geomeTriD.documentation')
# import the signals for ATAC-seq
ATAC_G1 <- importGenomicSigs(file.path(extdata, 'ATAC', 'patski.allele.G1_2.M.bw'),
                             range = range,
                             cols = c('darkgreen', 'darkred'),
                             format = 'BigWig')