Description Usage Arguments Value Methods (by class) Examples
The method returns the variable meta-info of either numeric or categorical variables of the study.
1 2 3 4 5 | getStudyVariableInfoByDataType(object, dataType, ...)
## S4 method for signature 'Study,character'
getStudyVariableInfoByDataType(object, dataType,
..., dataDicDF = data.frame(), dataStudyOnly = TRUE)
|
object |
Study class object. |
dataType |
a character string. The variable datatype. The possible value is either 'num' (for numeric variable) or 'cat' (for categorical variable). |
... |
There are optional arguments. |
dataDicDF |
a data frame. (optional) Dataset data dictionary data. |
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 data frame. The variable meta-info.
object = Study,dataType = character
: A method of class Study
1 2 3 4 5 6 | ## Not run:
getStudyVariableInfoByDataType(s, dataType = 'num', dataDicDF = dataDicDF)
getStudyVariableInfoByDataType(s, dataType = 'cat', dataDicDF = dataDicDF)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.