accInfo: Display meta-info of dbGaP objects

Description Usage Arguments Value Methods (by class) Examples

Description

The method displays the meta-info of the dbGaP objects given an object accession. The object can be a dbGaP study, dataset, or variable.

Usage

1
2
3
4
accInfo(object, acc, ...)

## S4 method for signature 'Commons'
accInfo(object, acc, ..., display = TRUE)

Arguments

object

Commons class object.

acc

a character string. The dbGaP study, dataset, or variable accession.

...

There are optional arguments.

display

a logical value. (optional) If TRUE (default), console displays the meta-info. If FALSE, not display.

Value

a data frame. (invisible) The meta-info of the input object.

Methods (by class)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 

c <- Commons()
df <- accInfo(c, acc = 'phs000001.v3.p1')
# or
df <- accInfo(c, acc = 'pht000824.v5')
# or
df <- accInfo(c, acc = 'phv00000090.v2')     # numeric with units
# or
df <- accInfo(c, acc = 'phv00000122.v2')     # categorical with code-value 

## End(Not run)

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