Description Usage Arguments Value Methods (by class) Examples
The method returns the metadat a given dataset or variable accession.
1 2 3 4 | getMetaByObjAcc(object, acc, type)
## S4 method for signature 'Commons'
getMetaByObjAcc(object, acc, type)
|
object |
Commons class object. |
acc |
a character string. The dbGaP dataset, or variable accession. |
a |
character string. The type of the input accession that can be either 'dataseet' or 'variable'. |
a data frame. The metadata of the input object.
Commons
: returns dataset accession
1 2 3 4 5 6 7 8 | ## Not run:
c <- Commons()
df <- getMetaByObjAcc(c, acc = 'pht000824.v5', type = 'dataset')
# or
df <- getMetaByObjAcc(c, acc = 'phv00000090.v2', type = 'variable')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.