get_dapi_range: Define a DAPI Mask

Description Usage Arguments Value Author(s) References Examples

Description

Use a numeric matrix from a DAPI TIFF image to create a DAPI Mask. It identifies high signal DAPI areas (corresponding to nuclei) and converts the image to a boolean matrix.

Usage

1
get_dapi_range(dapi_measures, cutoff = "auto")

Arguments

dapi_measures

is a numeric matrix corresponding to an imported 8-bit TIFF image.

cutoff

is a numeric value in the range 0 to 1 and is used for the backgroung correction.

Value

It returns a boolean matrix.

Author(s)

Damiano Fantini <damiano.fantini@gmail.com>

References

http://www.biotechworld.it/bioinf/2016/03/09/analyzing-fluoresence-microscopy-data-with-r/

Examples

1
2
3
4
data("leio_cells_dapi")
dapi_mask <- get_dapi_range(leio_cells_dapi, 0.05)
my_cols <- c("gray75", "gray45")
image(dapi_mask[400:1200,500:1200], col = my_cols)

dami82/CellSignalingTools documentation built on May 14, 2019, 3:32 p.m.