intersectMatrix
takes 2 matrices and outputs their
intersection based on common row.names.
intersectMatrix(Tab1, Tab2)
A matrix or data frame with defined row.names
A matrix or data frame with defined row.names
A matrix with rows common to both Tab1 and Tab2, and concatenated columns.
This function takes 2 matrices as input, determines the intersection of their row names, and returns a single matrix containing the rows in the intersection and concatenated columns of the initial matrices.