OstfriesenBI / PredmiRNA

A set of scripts and tools to train a classifier for pre-miRNA Recognition
1 stars 0 forks source link

R Script: Concatenate csv files #7

Closed Finesim97 closed 5 years ago

Finesim97 commented 5 years ago

After all computations have been run, the split csv files, now with the results, have to be added again. The easiest way to do this would be by writing a R function, that reads all given csv files into data frames and combines those with the rbind function.

concatenateCsvs <- function(infiles, outfile) {
    # code here

}

File 1

"A","B"
1,3
4,5

File 2

"B","A"
8,7
10,9

Output

"A","B"
1,3
4,5
7,8
9,10
Finesim97 commented 5 years ago

Cookies for everybody next time....