wigToBigWig {rtracklayer} | R Documentation |
Convert WIG to BigWig
Description
This function calls the Kent C library to efficiently convert a WIG file to a BigWig file, without loading the entire file into memory. This solves the problem where simple tools write out text WIG files, instead of more efficiently accessed binary BigWig files.
Usage
wigToBigWig(x, seqinfo,
dest = paste(file_path_sans_ext(x, TRUE), "bw", sep = "."),
clip = FALSE)
Arguments
x |
Path or URL to the WIG file. Connections are not supported. |
seqinfo |
|
dest |
The path to which to write the BigWig file. Defaults to |
clip |
If |
Author(s)
Michael Lawrence
See Also
BigWig
import and export support
[Package rtracklayer version 1.66.0 Index]