isOpen-methods: isOpen(bamReader), isOpen(bamWriter): Checking for opened...

Description Usage Arguments Details Methods

Description

Checks whether the given bamReader or bamWriter represents an opened connection to a BAM-file.

Usage

1
isOpen(con,rw="")

Arguments

con

An instance of class bamReader or bamWriter.

rw

This argument is included solely for compatibility with the function template for connections in package base. It's not evaluated internally.

Details

The function acutally checks, if the externalptr (reader or writer) slot has nil-value.

Methods

signature(object = "bamReader")

Returns TRUE when file connection is open.

signature(object = "bamWriter")

Returns TRUE when file connection is open.



Search within the rbamtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.