I have five data.frames with gene expression data for different sets of samples. I have a different number of rows in each data.set and therefore only partly overlapping row.names (genes).
Now I want a) to filter the five data.frames to contain only genes that are present in all data.frames and b) to combine the gene expression data for those genes to one data.frame.
All I could find so far was merge, but that can only merge two data.frames, so I'd have to use it multiple times. Is there an easier way?