Description Usage Arguments Value Examples
extract_array
: the function to extract data from
a GDS
file, by taking GDSArraySeed
as input. This
function is required by the DelayedArray
for the seed
contract.
GDSArray
: The function to convert a gds file
into the GDSArray data structure.
GDSArray
example data
1 2 3 4 5 6 |
x |
the GDSArraySeed object |
index |
An unnamed list of subscripts as positive integer
vectors, one vector per dimension in |
file |
the gds file name. |
name |
the gds array node to be read into GDSArraySeed / GDSArray. For
|
pkg |
the package name, which is "GDSArray" by default. |
GDSArray
class object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | file <- SNPRelate::snpgdsExampleFileName()
allnodes <- gdsnodes(file) ## print all available gds nodes in file.
allnodes
## GDSArray(file) #> deactivate temporarily 3/4/20
GDSArray(file, "sample.annot/pop.group")
file1 <- SeqArray::seqExampleFileName("gds")
allnodes1 <- gdsnodes(file1) ## print all available gds nodes in file1.
allnodes1
## GDSArray(file1) #> deactivate temporarily 3/4/20
GDSArray(file1, "variant.id")
GDSArray(file1, "sample.annotation/family")
GDSArray(file1, "annotation/format/DP")
GDSArray(file1, "annotation/info/DP")
example("GDSArray")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.