Returns the intersection of row names shared by two input objects.

commonRows(data1, data2)

Arguments

data1

A matrix, data frame, or similar object with row names.

data2

A matrix, data frame, or similar object with row names.

Value

A character vector of row names common to both inputs.