Learn R Programming

genArise (version 1.48.0)

write.spot: Write Spot

Description

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

Usage

write.spot(spot, fileName, quote = FALSE,sep = "\t", col.names = FALSE, row.names = FALSE)

Arguments

spot
An object of Spot 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.
sep
Character to separate the columns in file. By default sep = "\t".
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.

Examples

Run this code
data(Simon)
write.spot(spot = Simon, fileName = "Example.csv", quote = FALSE, sep =
"\t", col.names = FALSE, row.names = FALSE)

Run the code above in your browser using DataLab