Description Usage Arguments Value Methods (by class)
The method determines the data type of a given variable by looking into the data values. The funciont is called through dataDicXmlParser
. Running this method is resource expensive.
1 2 3 4 5 | detectVariableDataType(object, phsAcc, phtAcc, phvAcc, varName, ...)
## S4 method for signature 'Commons,character'
detectVariableDataType(object, phsAcc, phtAcc,
phvAcc, varName, ..., codeValCombo = NA, fileInfoDF = data.frame())
|
object |
Commons class object. |
phsAcc |
a character string. The dbGaP study accession of the given variable. |
phtAcc |
a character string. The dbGaP dataset accession of the given variable. |
phvAcc |
a character string. The dbGaP phenotype variable accession. |
varName |
a character string. The dbGaP phenotype variable name. |
... |
There are optional arguments. |
codeValCombo |
a character string. The combo string of a categorical variable value code and the respective code meaning. |
fileInfoDF |
a data frame. The file info data. |
a character string. The data types of the input variable accession.
object = Commons,phsAcc = character
: A method of class Study
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.