seqOpen {SeqArray} | R Documentation

## Open a SeqArray GDS File

### Description

Opens a SeqArray GDS file.

### Usage

    seqOpen(gds.fn, readonly=TRUE, allow.duplicate=FALSE)

### Arguments

`gds.fn` | the file name
`readonly` | whether read-only or not
`allow.duplicate` | if `TRUE`, it is allowed to open a GDS file with read-only mode when it has been opened in the same R session

### Details

It is strongly suggested to call `seqOpen` instead of `openfn.gds`, since `seqOpen` will perform internal checking for data integrality.

### Value

Return an object of class `SeqVarGDSClass` inherited from `gds.class`.

### Author(s)

Xiuwen Zheng

### See Also

`seqClose`, `seqGetData`, `seqApply`

### Examples

    # the GDS file
    (gds.fn <- seqExampleFileName("gds"))

    # open the GDS file
    gdsfile <- seqOpen(gds.fn)

    # display the contents of the GDS file in a hierarchical structure
    gdsfile

    # close the GDS file
    seqClose(gdsfile)

[Package SeqArray version 1.28.1 Index]