Description Usage Arguments Details Value
similar to fillVecByID, we might want to augment a matrix by column names specified by ID
1 2 | augmentMatrixColumnByID(mat, ID, computeNA = FALSE, pNAthr = 0.8,
data.matrix = TRUE)
|
mat |
a matrix to be augmented |
ID |
IDs targeted for; should be simialr to colnames(mat) |
computeNA |
whether to recompute columns with all NA |
pNAthr |
percentage of NA to be called as NA columns |
It is possible to augment an already augmented matrix. In this case, we'd be carefull about filledColID and naColID
an augMat object (also inherits matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.