Description Usage Arguments Value Methods (by class) Examples
The method searches for the decrypted dbGaP phenotype files in a given directory and copies (or moves) the files to the configured project directory. When a study accession is provided, only the files of specified study are copied.
1 2 3 4 5 | searchCopyPhenoFiles(object, userDataDir, ...)
## S4 method for signature 'Commons,character'
searchCopyPhenoFiles(object, userDataDir, ...,
phsAcc = "", copyOrMove = "copy", showErr = TRUE)
|
object |
Commons class object. |
userDataDir |
a character string. The path to the top level directory of decrypted dbGaP phenotype files. The files can be from different studies and located in different sub-directories. |
... |
There are optional arguments. |
phsAcc |
a character string. The dbGaP study accession. |
copyOrMove |
a character string. (optional) If the string value is 'copy' (default), copies the files to the project directory. If the string value is 'move', movies the files from the user data directory to the project directory. |
showErr |
a logical value. (optional) If TRUE, display the error message; If FALSE (default), not display. |
(invisible) data frame. The meta-info of all copied files.
object = Commons,userDataDir = character
: A method of class Commons
1 2 3 4 5 6 7 8 | ## Not run:
c <- Commons()
searchCopyPhenoFiles(c, userDataDir = '/home/user/data')
# or
searchCopyPhenoFiles(c, userDataDir = '/home/user/data', phsAcc="phs000001.v3.p1")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.