VisualizeImg: Visualize a matrix image

Description Usage Arguments Value Author(s) References Examples

View source: R/all_functions_v8.R

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

1
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

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

ocbe-uio/CellMigRation documentation built on Dec. 26, 2021, 10:19 p.m.