saveDataset: Save the normalized dataset into a dataset text file

Description Usage Arguments Examples

View source: R/normalization.R

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

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