intersectMatrix {BisRNA}R Documentation

Take intersection of 2 tables

Description

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

Usage

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.


[Package BisRNA version 0.2.2 Index]