processFISH: FISHalyseR - Automated fluorescence in situ hybridisation...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/processFISH.R

Description

Function to automatically quantify FISH probes in cell-culture images.

Usage

1
2
3
processFISH(combinedImg, writedir, bgCorrMethod = list(1, 100),channelSignals = NULL,
            channelColours = NULL, sizeNucleus = c(5, 15000), sizeProbe = c(5, 100), 
            gaussigma = 20, outputImageFormat = ".png")

Arguments

combinedImg

Composite image of all available channels

writedir

Traget directory for output files

bgCorrMethod

Specifies the method used to correct for uneven background. Accepts only list types. Currently, four different methods are available: (1) Gaussian blurring, (2) Illumination correction image provided by the user, (3) multidimensional illumination correction (using a stack of images). In case no illumination correction should be applied, pass an empty list to the function

channelSignals

List of images containing the FISH probe

channelColours

List of colour vectors for each single channel

sizeNucleus

Minimum and maximum area (in pixel) of probes to be consided for further analysis

sizeProbe

Minimum and maximum area (in pixel) of probes to be considered for further analysis

gaussigma

Sigma of Gaussian used to blur the image

outputImageFormat

File format for the output image

Value

processFISH

does not return any value

Author(s)

Karesh Arunakirinathan, Andreas Heindl

See Also

computeIlluminationCorrection, analyseParticles

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
## Specify illumination correction image
illuCorrection = system.file( "extdata", "SampleFISHillu.jpg", package="FISHalyseR")

## Composite image containing available channels
combinedImage <- system.file( "extdata", "SampleFISH.jpg", package="FISHalyseR")

## Single FISH channels containing the probe signals
red_Og   <- system.file( "extdata", "SampleFISH_R.jpg", package="FISHalyseR")
green_Gn <- system.file( "extdata", "SampleFISH_G.jpg", package="FISHalyseR")

## Output directory
writedir = paste(tempdir(),sep='')


## Use provided illumination correction image
bgCorrMethod = list(2,illuCorrection)

## Colour vector for three different probe channels (red, green and blue)
channelColours = list(R=c(255,0,0),G=c(0,255,0))

## Add probe channels to list
channelSignals = list(red_Og,green_Gn)

## Minimum and maximum area allowed for nuclei respectively probes
sizecell = c(1000,20000)
sizeprobe= c(5,20)

## Call processFISH with the specified parameters
processFISH(combinedImage,writedir,bgCorrMethod,channelSignals,
            channelColours,sizecell,sizeprobe)

FISHalyseR documentation built on Nov. 8, 2020, 5:30 p.m.