table.expand: De-aggregate the variable in the datatables and create the...

Description Usage Arguments Value Author(s)

Description

This function extracts informations from .txt.gz files ind dbgap. It will de-agregate the datatables to create one csv file per variable with 2 columns (dbgap_ID and variable_name), and sort them in one folder per datatable. It also creates the first mapping file ("0_map.csv).

Usage

1
table.expand(study_name, files, destination = getwd())

Arguments

study_name

Nickname used for this study

files

Vector containing the pathways to the table you want to expand

destination

Pathway to the folder where you want to create the mapping file

Value

a mapping file (0_map.csv), and a folder (study_tree) with the tree structure of your sandboxes. Also create a hidden file to copy oldmaps (.oldmaps)

Author(s)

Gregoire Versmee, Laura Versmee


hms-dbmi/sandboxR documentation built on May 12, 2019, 1:36 a.m.