intersectTables | R Documentation |
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.
intersectTables(table1, table2, byRow = FALSE, keepSumNonMatched = FALSE)
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) |
a list with the two tables with matching sample names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.