write.SpotfinderData: Write a SpotfinderData object to file

Description Usage Arguments Value Author(s) See Also Examples

Description

Write a SpotfinderData object to file.

Usage

1
2
## S3 method for class 'SpotfinderData'
write(this, filename, path=NULL, slide=NULL, overwrite=FALSE, verbose=FALSE, ...)

Arguments

filename

The filename of the file to be written.

path

The path to the file.

slide

Slide to be saved.

Value

Returns nothing.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

To read one or more SpotfinderData files at once see *read(). For more information see SpotfinderData.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
  sf <- SpotfinderData$read("sf111.tav", path=system.file("data-ex", package="aroma"))

  # Write the SpotfinderData object to a temporary file.
  filename <- paste(tempfile("SpotfinderData"), ".tav", sep="")
  write(sf, filename)

  sf2 <- SpotfinderData$read(filename)
  print(equals(sf, sf2))  # TRUE

  unlink(filename)

## End(Not run)

HenrikBengtsson/aroma documentation built on May 7, 2019, 12:56 a.m.