
Submit a large-scale phenotype extraction job via table-exporter
Source:R/extract.R
extract_batch.RdSubmits an asynchronous table-exporter job on the DNAnexus Research
Analysis Platform for large-scale phenotype extraction. Use this instead
of extract_pheno() when extracting many fields (e.g. 50+).
Usage
extract_batch(
field_id,
dataset = NULL,
file = NULL,
instance_type = NULL,
priority = c("low", "high")
)Arguments
- field_id
(integer) Vector of UKB Field IDs to extract.
eidis always included automatically.- dataset
(character) Dataset file name. Default:
NULL(auto-detect from project root).- file
(character) Output file name on the cloud (without extension), e.g.
"ad_cscc_pheno". Default:NULL(auto-generate as"ukb_pheno_YYYYMMDD_HHMMSS"to avoid same-day collisions).- instance_type
(character) DNAnexus instance type, e.g.
"mem1_ssd1_v2_x16". Default:NULL(auto-select:x4for up to 20 cols,x8for up to 100 cols,x16for up to 500 cols,x36for more than 500 cols).- priority
(character) Job scheduling priority.
"low"(recommended, cheaper) or"high"(faster queue). Default:"low".