Description Usage Arguments Details Value See Also
Adds phenotype data to MDT
object.
1 2 3 4 | importPhenotype(x, file, response_type = "factor", ...)
## S4 method for signature 'MDT'
importPhenotype(x, file, response_type = "factor", ...)
|
x |
|
file |
Filename containing phenotypic information. Must be tab separated, and contain a column named SampleID corresponding to Sample names, one column named RESPONSE corresponding to the response variable, and SEX and AGE columns. Warning: the function is CAPS sensitive. |
response_type |
Class of RESPONSE. Choose between: |
... |
Further arguments to pass on to |
Uses fread
to read file.
Updates MDT
object with phenotype data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.