Description Usage Arguments Value Methods (by class) Examples
The method validates a given list of the dbGaP variable accessions to make sure each of them is in a right format and belongs to the class study. A new list that have invalid accessions removed is returned.
1 2 3 4 5 | checkPhvAccList(object, phvAccList, ...)
## S4 method for signature 'Study,character'
checkPhvAccList(object, phvAccList,
dataStudyOnly = TRUE)
|
object |
Study class object. |
phvAccList |
a character vector. A list of the dbGaP variable accessions. |
... |
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. |
a character vector. A validated list of the variable accessions.
object = Study,phvAccList = character
: A method of class Study
1 2 3 4 5 6 7 | ## Not run:
s <- Study(phsAcc = 'phs000001.v3.p1')
accList = c('phv00054119.v1.p1.c2', 'phv00053735.v2', 'phv00053732.v2')
checkPhvAccList(s, phvAccList = accList)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.