Description Usage Arguments Value Author(s) Examples
Transpose the genotypic matrix if needed.
1 2 |
gds.fn |
the file name of SNP GDS format |
snpfirstdim |
if |
compress |
the compression mode for SNP genotypes, optional values
are defined in the function of |
optimize |
if |
verbose |
if TRUE, show information |
None.
Xiuwen Zheng
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # the file name of SNP GDS
(fn <- snpgdsExampleFileName())
# copy the file
file.copy(fn, "test.gds", overwrite=TRUE)
# summary
snpgdsSummary("test.gds")
# transpose the SNP matrix
snpgdsTranspose("test.gds", snpfirstdim=TRUE)
# summary
snpgdsSummary("test.gds")
# delete the temporary file
unlink("test.gds", force=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.