getPairwise {spicyR}R Documentation

Get statistic from pairwise L curve of a single image.

Description

Get statistic from pairwise L curve of a single image.

Usage

getPairwise(cells, from, to, dist = NULL)

Arguments

cells

A SegmentedCells or data frame that contains at least the variables x and y, giving the location coordinates of each cell, and cellType.

from

The 'from' cellType for generating the L curve.

to

The 'to' cellType for generating the L curve.

dist

The distance at which the statistic is obtained.

Value

Statistic from pairwise L curve of a single image.

Examples

data("melanomaResponders")
pairAssoc <- getPairwise(melanomaResponders)

[Package spicyR version 1.0.1 Index]