Description Usage Arguments Value
similar to fillVecByID, we might want to augment a matrix by column names specified by ID We cannot directly using augmentMatrixColumnByID with transposed input since data frame has side effects converting all numeric to string
1 | augmentMatrixRowByID(mat, ID, computeNA = FALSE, pNAthr = 0.8)
|
mat |
a matrix or data frame to be augmented |
ID |
IDs targeted for; should be simialr to rownames(mat) |
computeNA |
whether to recompute columns with all NA |
pNAthr |
percentage of NA to be called as NA columns |
an augMat object (also inherits matrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.