I have two data frames containing the names of genetic elements. I want another data frame with the elements in common in both data frames. Example:
data.a data.b
Column Column
1 a c
2 b e
3 c l
4 d a
I want this result:
data.c
Column
1 a
2 c
This is just an example. The data frame data.b
has more elements than data.a
.