VisualizeImg {cellmigRation}R Documentation

Visualize a matrix image

Description

Shows an image representation of a numeric matrix. Typically, this is a non-negative numeric matrix, where signal (high values) corresponds to the presence of cells, or cell-like particles.

Usage

VisualizeImg(img_mtx, col = NULL, ...)

Arguments

img_mtx

numeric matrix corresponding to a image

col

character vector corresponding to a valid color palette

...

additional arguments will be passed to graphics::image()

Value

None

Author(s)

Damiano Fantini, damiano.fantini@gmail.com

References

https://www.data-pulse.com/dev_site/cellmigration/ https://www.mathworks.com/matlabcentral/fileexchange/60349-fasttracks

Examples

x <- vapply(
    seq_len(20),
    function(i) {runif(n = 20, min = 0, max = 10)},
    FUN.VALUE = numeric(20)
)
cellmigRation:::VisualizeImg(x)


[Package cellmigRation version 1.2.0 Index]