Description Usage Arguments Value Methods (by class) Examples
The method filters out the rows of a dataset by a given list of subject ids. The subject ids can be provided as a list or as a text file.
1 2 3 4 5 | filterBySubjIds(object, varDF, ...)
## S4 method for signature 'Commons,data.frame'
filterBySubjIds(object, varDF, ...,
dbgapIdsOrFile = NULL)
|
object |
Commons class object. |
varDF |
a data frame. The dataset data. |
... |
There are optional arguments. |
dbgapIdsOrFile |
a character vector or a character string. (optional) This argument can be either a vector of ID list or a path to a file that contains a list of IDs. The IDs can be dbGaP_Subject_ID or dbGaP_Sample_ID denpending on type of the data. When the list of IDs is provided by a file, it should be a plain text file with one ID per line. |
a data frame. Filtered dataset data.
object = Commons,varDF = data.frame
: A method of class Commons
1 2 3 4 5 6 | ## Not run:
c <- Commons()
filterBySubjIds(c, varDF = varDF, dbgapIdsOrFile = c("219", "220", "223"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.