fm.bindR Documentation

Combine FlashR Vectors/Matrices by Rows or Columns

Description

Take a list of FlashR vectors/matrices and combine them by Columns or rows respectively.

Usage

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)

Arguments

objs

A list of FlashR matrices.

All arguments for rbind and cbind have to be either all vectors or all matrices.

...

A list of FlashR matrices.

Value

A FlashR matrix.

Author(s)

Da Zheng <dzheng5@jhu.edu>

Examples

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)