Description Usage Arguments Value Author(s) Examples
Return an option list used by the SNPRelate package or a GDS file
1 | snpgdsOption(gdsobj=NULL, autosome.start=1L, autosome.end=22L, ...)
|
gdsobj |
an object of class |
autosome.start |
the starting index of autosome |
autosome.end |
the ending index of autosome |
... |
optional arguments for new chromosome coding |
A list
Xiuwen Zheng
1 2 3 4 5 6 7 8 9 10 11 | # define the new chromosomes 'Z' and 'W'
snpgdsOption(Z=27L, W=28L)
# open an example dataset (HapMap)
genofile <- snpgdsOpen(snpgdsExampleFileName())
snpgdsOption(genofile)
# close the genotype file
snpgdsClose(genofile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.