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 May 31, 2017, 11:11 a.m.

Search within the RNAither package
Search all R packages, documentation and source code