write.spot: Writing in Data Generated by the Image Analysis Package Spot

Description Usage Arguments Details Author(s) References See Also Examples

Description

Function writes in a data file in a tab delimited table format.

Usage

1
write.spot(x, imageid, batch="output")

Arguments

x

the object to be written, typically a data frame. If not, it is attempted to create one from it.

imageid

integer value; the index of the slide which is considered

batch

character string, this refers to the name of a collection of experiments. The default batch name is "output".

Details

This function writes the data in for each imageid, assigning each file the filename which takes the default form of "output".imageid.spot. The column names of x are written along with x in the table format

Author(s)

Jessica Mar

References

Spot manual http://www.cmis.csiro.au/iap/Spot/spotmanual.htm

See Also

write.table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Setting up the data
## library(Spot)
## SetParameters("mouse")
## Here is what you should see:
## Enter number of rows of grids per image (ngrid.r): 4
## Enter number of columns of grids per image (ngrid.c): 4
## Enter number of rows of spots per grid (nspot.r): 19
## Enter number of columns of spots per grid (nspot.c): 21
## Enter top/bottom translation tolerance, default is 50 (tolerance.r): 20
## Enter left/right translation, default is 50 (tolerance.c): 30
## Initialization complete

##Inputting Image Data 
## SetImages("mouse")
## Combining the red and green channels for the first slide
## mouse.array <- Spots("mouse", 1)

## Calling the function to write the data in
## write.spot(mouse.array, 1, "mouse")

gnyamundanda/sma documentation built on May 3, 2019, 5:17 p.m.