configSkeleton: NOTE: This function is now defunct. Use renderInputNode(),...

Description Usage Arguments

Description

NOTE: This function is now defunct. Use renderInputNode(), renderOutputNode(), and renderMetaNode() Construct the skeleton for the XML configuration file for the harmonization batch. Takes named lists as arguments

Usage

1
2
3
4
5
configSkeleton(source_trait_ids, age_trait_ids,
  harmonized_trait_set_version_ids, batch_trait_ids, harmon_functions, name,
  qc_doc, output_dir = "", output_prefix = "output", description = "",
  data_type = "", unit, is_demographic = FALSE, is_longitudinal = FALSE,
  encoded)

Arguments

source_trait_ids

A named vector or list of database IDs of source traits

age_trait_ids

A named vector or list of database IDs of age traits

harmonized_trait_set_version_ids

A named vector or list of database IDs of harmonized trait sets

batch_trait_ids

A named vector or list of database IDs of batch traits

harmon_functions

A named vector or list of paths to harmonization functions

name

Name of the harmonized trait

qc_doc

File path to the accompanying QC document

output_dir

Path to output directory

output_prefix

String to be prepended to the output files

description

Description of the harmonized trait

data_type

Data type of the output

unit

Unit of the harmonized trait

is_demographic

Flags output as a demographic trait

is_longitudinal

Flags output as a longitudinal trait and allows multiple observations per topmed_subject_id

encoded

A named vector of encoded values


UW-GAC/harmonHelper documentation built on May 9, 2019, 9:37 p.m.