write_gds | R Documentation |
Write a Genomic Data Structure (GDS) file format
gdsfmt
and object of class SeqVarGDSClass
from a tidy data frame.
Used internally in radiator and might be of interest for users.
write_gds(
data,
data.source = NULL,
filename = NULL,
open = TRUE,
verbose = TRUE
)
data |
A tidy data frame object in the global environment or
a tidy data frame in wide or long format in the working directory.
How to get a tidy data frame ?
Look into radiator |
data.source |
(optional, character) The name of the software that
generated the data. e.g. |
filename |
(optional) The file name of the Genomic Data Structure (GDS) file.
radiator will append |
open |
(optional, logical) Open or not the radiator connection.
Default: |
verbose |
(optional, logical) When |
An object in the global environment of class SeqVarGDSClass
and
a file in the working directory.
Thierry Gosselin thierrygosselin@icloud.com
Zheng X, Levine D, Shen J, Gogarten SM, Laurie C, Weir BS. A high-performance computing toolset for relatedness and principal component analysis of SNP data. Bioinformatics. 2012;28: 3326-3328. doi:10.1093/bioinformatics/bts606
Zheng X, Gogarten S, Lawrence M, Stilp A, Conomos M, Weir BS, Laurie C, Levine D (2017). SeqArray – A storage-efficient high-performance data format for WGS variant calls. Bioinformatics.
## Not run:
data.gds <- radiator::write_gds(data = "shark.rad")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.