Description Usage Arguments Value Methods (by class) Examples
The method checks the format of an input string to see if it is a dbGaP accession. The accessions with and without the p# (participant-set number) both are considered to be correct (e.g. phs000001.v3.p1 or phs000001.v3).
1 2 3 4 | isStudyAcc(object, phsAcc)
## S4 method for signature 'Commons,character'
isStudyAcc(object, phsAcc)
|
object |
Commons class object. |
phsAcc |
a character string. A dbGaP study accession. |
a logical value. TRUE if the format matches a dbGaP accession, FALSE if it doesn't match.
object = Commons,phsAcc = character
: A method of class Commons
1 2 3 4 5 6 | ## Not run:
c <- Commons()
isStudyAcc(c, phsAcc = 'phs000001.v3')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.