spot.simulator {CONFESS} | R Documentation |
A helper to simulate spots in a image.
spot.simulator(location, size, average.signal, dimension)
location |
Numeric vector. A vector of 2d coordinates for the spot center. |
size |
Integer. The number of pixels the spot consists of. |
average.signal |
Float. The parameter of the poisson distribution to generate the |
dimension |
Numeric vector. The image dimensions. |
The image with the generated spot(s)