Learn R Programming

CONFESS (version 1.0.2)

spot.simulator: spot.simulator

Description

A helper to simulate spots in a image.

Usage

spot.simulator(location, size, average.signal, dimension)

Arguments

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.

Value

The image with the generated spot(s)