joinDatasetFiles: Join dataset files

Description Usage Arguments See Also Examples

View source: R/generate_dataset_file.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
9
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")

RNAither documentation built on Nov. 8, 2020, 8:06 p.m.