Learn R Programming

Bioi (version 0.2.10)

.euclidean_linker_cpp: Return the group number for each localization.

Description

Group PALM/iPALM localizations based on their physical separation distance

PALM/iPALM data results in a list of spatial coordinates for fluorophore localizations. This function groups nearby localizations if they are within the provided critical distance from each other.

Usage

.euclidean_linker_cpp(input, critDist, use_prog_bar = TRUE)

Arguments

input

A numeric matrix where each row is a localization and each column is a spatial axis.

critDist

The critical distance for which localizations nearer than this distance are deemed part of the same group.

use_prog_bar

A logical indicating whether a progress bar should be used. This must be set to false when running in parallel.

Examples

Run this code
# NOT RUN {
# Function call
# }
# NOT RUN {
.euclidean_linker_cpp(inputMatrix, critDist)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab