renderMetaNode: Creates the metadata node for a phenotype harmonization file

Description Usage Arguments Value

Description

Creates the metadata node for a phenotype harmonization file

Usage

1
2
renderMetaNode(name, description, data_type, unit, encoded, qc_doc,
  is_demographic = FALSE, is_longitudinal = FALSE, has_batch = FALSE)

Arguments

name

Name of the harmonized trait

description

Description of the harmonized trait

data_type

Data type of the output

unit

Unit of the harmonized trait

encoded

A named vector of encoded values

qc_doc

File path to the accompanying QC document

is_demographic

Flags output as a demographic trait

is_longitudinal

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

Value

The metadata node for a phenotype harmonization configuration file


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