compression | R Documentation |
Methods and generics for file compression strategies.
decompress(manager, con, ...)
## S4 method for signature 'ANY'
decompress(manager, con, ...)
## S4 method for signature 'CompressedFile'
decompress(manager, con, ...)
## S4 method for signature 'character'
decompress(manager, con, ...)
## S4 method for signature 'CompressedFile'
fileFormat(x)
manager |
The connection manager, defaults to the internal |
con |
The connection from which data is loaded or to which data is
saved. If this is a |
... |
Parameters to pass to the format-specific method. |
x |
A |
A decompressed representation of a CompressedFile
or character
object
FileForFormat(path, format = file_ext(path))
Determines the file type of path
and returns a high-level file object
such as BamFile, BEDFile, BigWigFile, etc.
file <- tempfile(fileext = ".gzip")
decompress(con = file)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.