Description Usage Arguments Value Author(s) Examples
View source: R/facopy_internal_v45.r
Attaches phenotypic information to a facopyInfo
object that had been created from copy number data.
1 2 3 4 |
fad |
|
varInfo |
A character or a |
varTypes |
A vector of characters with the same length as the number of variables whose information will be loaded. Variables can be either categorical or quantitative. Planning ahead for subsequent analyses, it might be best to regard ordered variables as categorical. Vector elements should equal either |
varColumns |
An optional character vector. If the table with variable information contains extra columns, this parameter allows the specification of those columns with information on the variables to use. |
varValues |
An optional list of vectors. Each vector is either null or contains the subset of values to be used in subsequent analyses for the corresponding variable. |
varColumnsNames |
An optional character vector with the names of the variables, if different from the corresponding column names in the table. |
varValuesNames |
An optional list of vectors with the names of the variable values, if different from the corresponding values in the columns. If a vector is null, the corresponding value names are not changed, which is useful for quantitative variables with many possible values. |
... |
Extra parameters passed to the function are in turn passed to |
facopyInfo
object with incorporated phenotypic information.
David Mosen-Ansorena
1 2 3 4 | data(myCalls)
data(myVariables)
myStudy = addVariables(myCalls, myVariables, c("continuous","categorical"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.