fm.bind | R Documentation |
Take a list of FlashR vectors/matrices and combine them by Columns or rows respectively.
fm.rbind.list(objs) fm.cbind.list(objs) ## S4 method for signature 'fm' rbind(..., deparse.level = 1) ## S4 method for signature 'fmV' rbind(..., deparse.level = 1) ## S4 method for signature 'fm' cbind(..., deparse.level = 1) ## S4 method for signature 'fmV' cbind(..., deparse.level = 1)
objs |
A list of FlashR matrices. All arguments for |
... |
A list of FlashR matrices. |
A FlashR matrix.
Da Zheng <dzheng5@jhu.edu>
mat1 <- fm.runif.matrix(100, 10) mat2 <- fm.runif.matrix(100, 10) mat <- rbind(mat1, mat2) mat <- cbind(mat1, mat2) mat.list <- list(mat1, mat2) mat <- fm.rbind.list(mat.list) mat <- fm.cbind.list(mat.list)