.mergeMatrices {wrMisc} | R Documentation |
Merge Multiple Matrices (main)
Description
This function allows merging of multiple matrix-like objects from an initial list.
Usage
.mergeMatrices(
inpL,
mode = "intersect",
useColumn = 1,
extrRowNames = FALSE,
na.rm = TRUE,
argL = NULL,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
Arguments
inpL |
(list containing matrices or data.frames) main input (multiple matrix or data.frame objects) |
mode |
(character) allows choosing restricting to all common elements ( |
useColumn |
(integer, character or list) the column(s) to consider, may be |
extrRowNames |
(logical) decide whether columns with all values different (ie no replicates or max divergency) should be excluded |
na.rm |
(logical) suppress |
argL |
(list of arguments) |
silent |
(logical) suppress messages |
debug |
(logical) additional messages for debugging |
callFrom |
(character) allow easier tracking of messages produced |
Value
This function returns a matrix containing all selected columns of the input matrices to fuse
See Also
mergeMatrixList
, merge
, mergeMatrices
for separate entries
Examples
mat1 <- matrix(11:18, ncol=2, dimnames=list(letters[3:6],LETTERS[1:2]))