Description Usage Arguments Value Methods (by class) Examples
The method composes the study, dataset, variable accession from the given object id and version. If object version is not provided, it returns the object accession without version.
1 2 3 4 | composeObjAcc(object, objId, type, ...)
## S4 method for signature 'Commons'
composeObjAcc(object, objId, type, ..., objVer = NULL)
|
object |
Commons class object. |
objId |
an integer. A dbGaP object id. |
type |
an integer. The type of object, such as 'study', 'dataset', or 'variable'. |
... |
There are optional arguments. |
objVer |
an integer. (optional) The object version. |
a character string. The object accession with or without version.
Commons
: A method of class Commons
1 2 3 4 5 6 | ## Not run:
c <- Commons()
composeObjAcc(c, objId = 1255, type = 'study', objVer = 1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.