getDatasetMetaByStudy: (internal) Get study variable meta-info (data dictionary)

Description Usage Arguments Value Methods (by class) Examples

Description

The method returns the meta-info of all datasets of the given study.

Usage

1
2
3
4
getDatasetMetaByStudy(object, phsAcc, ...)

## S4 method for signature 'Commons,character'
getDatasetMetaByStudy(object, phsAcc)

Arguments

object

Commons class object.

phsAcc

a character string. The dbGaP study accession.

...

There are optional arguments.

dataStudyOnly

a logical value. When TRUE (default), only downloads the dataset and variable metadata of the stdudies that have data files in the project directory. When FALSE, downloads the dataset and variable metadata of all dbGaP released studies, regardless the actual phenotype data files of the studies are downloaded or not.

Value

a data frame. The dataset meta-info of the study.

Methods (by class)

Examples

1
2
3
4
5
6
## Not run: 

c <- Commons()
getDatasetMetaByStudy(c, phsAcc = 'phs000001.v3.p1')

## End(Not run)

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