seqGDS2SNP {SeqArray} | R Documentation |
Converts a SeqArray GDS file to a SNP GDS file.
seqGDS2SNP(gdsfile, out.gdsfn, compress.geno="ZIP_RA", compress.annotation="ZIP_RA", optimize=TRUE, verbose=TRUE)
gdsfile |
character (GDS file name), or
a |
out.gdsfn |
the file name, output a file of VCF format |
compress.geno |
the compression method for "genotype"; optional
values are defined in the function |
compress.annotation |
the compression method for the GDS variables,
except "genotype"; optional values are defined in the function
|
optimize |
if |
verbose |
if |
seqSetFilter
can be used to define a subset of data for
the conversion.
Return the file name of VCF file with an absolute path.
Xiuwen Zheng
seqSNP2GDS
, seqVCF2GDS
,
seqGDS2VCF
# the GDS file gds.fn <- seqExampleFileName("gds") seqGDS2SNP(gds.fn, "tmp.gds") # delete the temporary file unlink("tmp.gds")