RTLFile-class: RTLFile objects
Description
A RTLFile object is the base class for classes representing
files accessible with rtracklayer. It wraps a resource
(either a path, URL or connection).
Accessor Methods
In the code snippets below, x represents a RTLFile
object.
-
path(x):
Gets the path, as a character vector, to the resource
represented by the RTLFile object, if possible.
-
resource(x):
Gets the low-level resource, either a character vector (a path or
URL) or a connection.
Related functions
-
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..
See Also
Implementing classes include: BigWigFile,
TwoBitFile, BEDFile,
GFFFile, and WIGFile.