Description Usage Arguments Details Value
View source: R/write_functions.R
Wrapper to write.table
function to output dbGaP dataset (DS) and data dictionary (DD) files.
1 2 |
x |
Object to write out |
file |
Filename. Can leave unspecified if |
study_name |
Study name |
phs |
dbGaP PHS accession number |
DD |
logical flag, set to TRUE for DD file, FALSE for DS |
dstype |
Type of file, one of "pheno","ped","sattr","ssm","subj." Can be left as default/NULL if |
generate_fn |
logical flag on whether to have filename generated for you |
If generate_fn=FALSE
, the argument to file
will be used as the file name. File paths will be followed; if none given, will write to current working directory. If generate_fn=TRUE
, one of either study_name
or phs
must be provided. If generate_fn=TRUE
, fill will always be written to current working directory.
Write file to disk.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.