AddFactor | R Documentation |
The "AddFactor" function can add factors to the full dataset, this function can add one or more factors into coldata. Here the row.names/names of factor matrix/vector should be equal to the row.names of coldata of RISC object.
AddFactor(object, colData = NULL, rowData = NULL, value = NULL)
object |
RISC object: a framework dataset. |
colData |
Input the names that will be added into coldata of RISC object, it should be characters, as the col.names of coldata. |
rowData |
Input the names that will be added into rowdata of RISC object, it should be characters, as the col.names of rowdata. |
value |
The factor vector or data.frame that will be added into coldata or rowdata, the vector/data.frame should have equal names/row.names to the row.names coldata or rowdata of RISC object. The input: vector or data.frame. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.