GDSArray-methods: GDSArraySeed or GDSArray related methods, slot getters and...

Description Usage Arguments Value Examples

Description

dim, dimnames: dimension and dimnames of object contained in the GDS file.

seed: the GDSArraySeed getter for GDSArray object.

seed<-: the GDSArraySeed setter for GDSArray object.

gdsfile: on-disk location of GDS file represented by this object.

gdsfile<-: the setter of the gds file path for 'GDSArraySeed' and 'GDSArray'.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## S4 method for signature 'GDSArray'
seed(x)

## S4 replacement method for signature 'GDSArray'
seed(x) <- value

gdsfile(object)

## S4 method for signature 'GDSArraySeed'
gdsfile(object)

## S4 method for signature 'GDSArray'
gdsfile(object)

## S4 method for signature 'DelayedArray'
gdsfile(object)

gdsfile(object) <- value

## S4 replacement method for signature 'GDSArraySeed'
gdsfile(object) <- value

## S4 replacement method for signature 'GDSArray'
gdsfile(object) <- value

Arguments

x

the GDSArray and GDSArraySeed objects.

value

the new GDSArraySeed for the GDSArray object.

object

GDSArray, GDSMatrix, GDSArraySeed, GDSFile or SummarizedExperiment object.

Value

dim: the integer vector of dimensions for GDSArray or GDSArraySeed objects.

dimnames: the unnamed list of dimension names for GDSArray and GDSArraySeed objects.

seed: the GDSArraySeed of GDSArray object.

gdsfile: the character string for the gds file path.

Examples

1
2
3
4
5
6
7
8
file <- SNPRelate::snpgdsExampleFileName()
ga <- GDSArray(file, "sample.annot/pop.group")
dim(ga)
dimnames(ga)
type(ga)
seed(ga)
dim(seed(ga))
gdsfile(ga)

GDSArray documentation built on April 2, 2021, 6 p.m.