Learn R Programming

genArise (version 1.48.0)

write.dataSet: Write dataSet

Description

Write the values for observations of an object of DataSet class in an output file. This values are writen in columns with the follow order: Cy3, Cy5, Cy3 Background, Cy5 Background, Ids and finally the Zscore value. By default this output file has no header.

Usage

write.dataSet(dataSet.spot, fileName, quote = FALSE, col.names = FALSE, row.names = FALSE, Zscore.min = NULL, Zscore.max = NULL, sep = "\t")

Arguments

dataSet.spot
An object of DataSet class
fileName
The name of the output file where the data will be writen. This argument must be quoted.
quote
If quote = TRUE, all values in the file will be quoted.
col.names
If col.names = TRUE, an integer is writen in every column as header. By default col.names = FALSE.
row.names
If row.names = TRUE will be an extra column that numerates every rows in the file.
Zscore.min
The lower value in a range, if Zscore.min = NULL then the file will contain all values bellow Zscore.max
Zscore.max
The greater value in a range, if Zscore.max = NULL then file will be contain all values above Zscore.min. Both values, Zscore.min and Zscore.max can not be NULL
sep
Character to separate the columns in file. By default sep = "\t".

Examples

Run this code
data(WT.dataset)
write.dataSet(dataSet.spot = WT.dataset, fileName = "Example.csv", Zscore.min = 1,
Zscore.max = 1.5, sep = "\t")

Run the code above in your browser using DataLab