recordPrjFileInfo: Extract and save phenotype file meta-info

Description Usage Arguments Value Methods (by class) Examples

Description

The method looks for phenotype files in the project directory, extracts, and saves the file attribute information to a file. The phenotype data files should be available under the project directory before calling this function. Checkout searchCopyPhenoFiles for more information if not. The resulting project file information is saved in ~/ncbi/dbgap_conf/pht_file_info_indiv.json. When a study accession is provided, it processes only the files of specified study.

Usage

1
2
3
4
recordPrjFileInfo(object, ...)

## S4 method for signature 'Commons'
recordPrjFileInfo(object, ..., phsAcc = "")

Arguments

object

Commons class object

...

There are optional arguments.

phsAcc

a character string. The dbGaP study accession.

Value

(invisible) a data frame. Meta-info of the dataset files under the prject directory.

Methods (by class)

Examples

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

c <- Commons()
recordPrjFileInfo(c)
# or 
recordPrjFileInfo(c, phsAcc="phs000001.v3.p1")

## End(Not run)

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