intersectMatrix: Take intersection of 2 tables

Description Usage Arguments Details Value

Description

intersectMatrix takes 2 matrices and outputs their intersection based on common row.names.

Usage

1
intersectMatrix(Tab1, Tab2)

Arguments

Tab1

A matrix or data frame with defined row.names

Tab2

A matrix or data frame with defined row.names

Details

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.

Value

A matrix with rows common to both Tab1 and Tab2, and concatenated columns.


BisRNA documentation built on May 2, 2019, 2:35 a.m.