joinDatasetFiles {RNAither} | R Documentation

## Join dataset files

### Description

Merges two or more dataset files into one, with one common header.

### Usage

    joinDatasetFiles(listOfFiles, nbOfLinesInHeader, newHead, outputFile)

### Arguments

`listOfFiles` | a list of the names of the files to join
`nbOfLinesInHeader` | typically 3
`newHead` | the new header
`outputFile` | the name of the file to save the header and concatenated dataset in

### See Also

`generateDatasetFile`, `joinDatasets`

### Examples

    data(exampleHeader, package="RNAither")
    data(exampleDataset, package="RNAither")
    saveDataset(header, dataset, "save_testfile1.txt")

    header[[1]] <- "external_experiment_name,Test screen"
    header[[2]] <- "comments,contains twice Screen Nb 1"

    joinDatasetFiles(list( "save_testfile1.txt", "save_testfile1.txt"), 3, header,
    "concatenated_testfile.txt")

[Package RNAither version 2.30.1 Index]