saveDataset {RNAither} | R Documentation

## Save the normalized dataset into a dataset text file

### Description

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

### Usage

    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

    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")

[Package RNAither version 2.30.1 Index]