Merge two matrices row- or column-wise using their row or column names (row names by default). Expects two matrices and appends columns of the second table to the first such that row names in the second table match row names in the first. Rows with non-matching names are discarded by default, but can be kept. In this case, their values are set to zero in the table from which they are absent.
mergeTables(table1, table2, keep.nonmatch = FALSE, byRow = TRUE)
keep non-matching rows or columns, with values missing in the other table filled with zeros
compare tables row-wise
the merged table