spot.simulator: spot.simulator

Description Usage Arguments Value

View source: R/simulator.R

Description

A helper to simulate spots in a image.

Usage

1
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)


CONFESS documentation built on Nov. 8, 2020, 6:05 p.m.