Off topic:Joining multiple columns from different dataframes in R
0
0
Entering edit mode
5.1 years ago
mb314 ▴ 20

I have 8 dataframes, each with two columns: one with nucleotide position (NT) and the other with count of how many times that position occurred. ex: data.frame("NT" = c("1","2","3"), "count" = c("34", "12", "17"))

I'm trying to join all 8 of these dataframes into one dataframe whereby my columns are: NT, count_sample1, count_sample2, count_sample3 etc.

I've tried using R's merge() function and dplyr's full_join() function, but can only join two at a time. Is there a way I can do all 8 with one command?

R dplyr • 1.3k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2457 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6