Description Usage Arguments Value Author(s) See Also Examples
Deletes variables in the SeqArray GDS file.
1 2 |
gdsfile |
a |
info.var |
the variables in the INFO field, i.e., "annotation/info/VARIABLE_NAME" |
fmt.var |
the variables in the FORMAT field, i.e., "annotation/format/VARIABLE_NAME" |
samp.var |
the variables in the sample annotation field, i.e., "sample.annotation/VARIABLE_NAME" |
verbose |
if |
None.
Xiuwen Zheng
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # the file of GDS
gds.fn <- seqExampleFileName("gds")
file.copy(gds.fn, "tmp.gds", overwrite=TRUE)
# display
(f <- seqOpen("tmp.gds", FALSE))
seqDelete(f, info.var=c("HM2", "AA"), fmt.var="DP")
f
# close the GDS file
seqClose(f)
# clean up the fragments, reduce the file size
cleanup.gds("tmp.gds")
# remove the temporary file
unlink("tmp.gds", force=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.