| extendMatrix {sccore} | R Documentation |
Extend matrix to include new columns in matrix
extendMatrix(mtx, col.names)
mtx |
Matrix |
col.names |
Columns that should be included in matrix |
Matrix with new columns but rows retained
library(dplyr) gene.union <- lapply(conosClusterList, colnames) %>% Reduce(union, .) extendMatrix(conosClusterList[[1]], col.names=gene.union)