mergeDatasetConsent: Merge dataset data of different consents

Description Usage Arguments Value Methods (by class) Examples

Description

The method searches for all dataset files under the project directory and merges the files that have the same dataset accession but belong to different consents.

Usage

1
2
3
4
5
mergeDatasetConsent(object, ...)

## S4 method for signature 'Commons'
mergeDatasetConsent(object, ..., phsAcc = "",
  overwrite = TRUE)

Arguments

object

Commons class object.

...

There are optional arguments.

phsAcc

a character string. The dbGaP study accession.

overwrite

a logical value. (optional) If TRUE (default), overwrites existing files. If FALSE, skips the merge for entire study if the merged file directory of the respective study is not empty.

Value

a data frame. (invisible) The meta-info of merged data files.

Methods (by class)

Examples

1
2
3
4
5
6
7
## Not run: 

c <- Commons()
mergeDatasetConsent(c)
mergeDatasetConsent(c, phsAcc = "phs000001.v3.p1")

## End(Not run)

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