Save the normalized dataset into a dataset text file

Share:

Description

Saves the normalized dataset and corresponding header into the specified dataset text file.

Usage

1
saveDataset(header, data, dataSetFile)

Arguments

header

the header of a dataset file generated with generateDatasetFile

data

an R data frame generated with generateDatasetFile

dataSetFile

the name of the text file the data will be saved in; can be the same as the old file (will be overwritten without prompting)

Examples

1
2
3
4
5
6
7
data(exampleHeader, package="RNAither")
data(exampleDataset, package="RNAither")

normres <- divNorm(header, dataset, list(median, 2, 1, "SigIntensity", 1))
newheader <- normres[[1]]
newdataset <- normres[[2]]
saveDataset(newheader, newdataset, "save_testfile1.txt")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.