readBigWig {ORFik} | R Documentation

## Custom bigWig reader

### Description

Given 2 bigWig files (.bw, .bigWig), first is forward second is reverse. Merge them and return as GRanges object. If they contain name reverse and forward, first and second order does not matter, it will search for forward and reverse.

### Usage

    readBigWig(path, chrStyle = NULL)

### Arguments

`path` | a character path to two .bigWig files, or a data.table with 2 columns, (forward, filepath) and reverse, only 1 row.
`chrStyle` | a GRanges object, TxDb, FaFile, or a `seqlevelsStyle` (Default: NULL) to get seqlevelsStyle from. Is chromosome 1 called chr1 or 1, is mitocondrial chromosome called MT or chrM etc. Will use 1st seqlevel-style if more are present. Like: c("NCBI", "UCSC") -> pick "NCBI"

### Value

a `GRanges` object of the file/s

### See Also

Other utils: `bedToGR()`, `convertToOneBasedRanges()`, `export.bed12()`, `export.bigWig()`, `export.wiggle()`, `fimport()`, `findFa()`, `fread.bed()`, `optimizeReads()`, `readBam()`, `readWig()`

[Package ORFik version 1.14.7 Index]