intersectTables: Table intersection

View source: R/mergeTables.R

intersectTablesR Documentation

Table intersection

Description

Discard rows or columns that are not present in both tables (columns by default). The row or column names are compared to determine whether they match.

Usage

intersectTables(table1, table2, byRow = FALSE, keepSumNonMatched = FALSE)

Arguments

table1

a matrix

table2

a matrix

byRow

compare tables row-wise

keepSumNonMatched

keep the sum of non-matching rows as last row (row name: sumUnique)

Value

a list with the two tables with matching sample names


hallucigenia-sparsa/seqgroup documentation built on July 6, 2022, 1:11 p.m.