SeqOpen {SeqSQC} | R Documentation

## Open the gds file in SeqSQC objects.

### Description

Function to open the gds file inside the SeqSQC object.

### Usage

    SeqOpen(seqfile, readonly = TRUE, allow.duplicate = FALSE)

### Arguments

`seqfile` | SeqSQC object, which has been merged with benchmark data.
`readonly` | whether to open the gds file in read-only mode. If "FALSE", it is allowed to write data to the file. The default is TRUE.
`allow.duplicate` | whether to allow to open a GDS file with read-only mode when it has been opened in the same R session. The default is FALSE.

### Value

a gds file with the filepath in the input SeqSQC object.

### Author(s)

Qian Liu qliu7@buffalo.edu

### Examples

    library(gdsfmt)
    load(system.file("extdata", "example.seqfile.Rdata", package="SeqSQC"))
    gfile <- system.file("extdata", "example.gds", package="SeqSQC")
    seqfile <- SeqSQC(gdsfile = gfile, QCresult = QCresult(seqfile))
    dat <- SeqOpen(seqfile)
    dat
    closefn.gds(dat)

[Package SeqSQC version 1.8.1 Index]