buildVarCodeValCombo: (internal) Compose variable code-value combo string.

Description Usage Arguments Value Methods (by class)

Description

The method parses id strings from a dbGaP study accession.

Usage

1
2
3
4
5
buildVarCodeValCombo(object, catVarAcc, ...)

## S4 method for signature 'Commons,character'
buildVarCodeValCombo(object, catVarAcc, ...,
  phsAcc = "", varCodeValDF = data.frame())

Arguments

object

Commons class object.

catVarAcc

a character string. The accession of a categorical vairable.

...

There are optional arguments.

phsAcc

a character string. (optional) The study accession to which the input variable belongs. This is varCodeVarDF is not provided.

varCodeValDF

a data frame. (optional) The variable code value table.

Value

a named character list. The list of parsed id strings including 'phsAcc' for study acession, 'phsAccNoVer' for the study accession with the v# (version number) removed. 'phsAccId' for study id, and 'phsAccVer' for study version.

Methods (by class)


jameslhao/dbgapr_dev documentation built on May 8, 2019, 11:03 p.m.