AdjScoreClustersCODEX: Use the Adjacency Score to evaluate colocaliztion of all...

View source: R/feature_scores.R

AdjScoreClustersCODEXR Documentation

Use the Adjacency Score to evaluate colocaliztion of all pairs of CODEX clusters in CODEX spatial dimensions. Calls Adjacency Score with c=0 to use hypergeometric null distribution speed up for mutually exclusive binary features.

Description

Use the Adjacency Score to evaluate colocaliztion of all pairs of CODEX clusters in CODEX spatial dimensions. Calls Adjacency Score with c=0 to use hypergeometric null distribution speed up for mutually exclusive binary features.

Usage

AdjScoreClustersCODEX(stvea_object, k, num_cores = 1)

Arguments

stvea_object

STvEA.data class object containing CODEX cluster assignments and CODEX spatial coordinates

k

number of nearest neighbors to create graph from CODEX spatial information

num_cores

integer specifying the number of cores to be used in the computation. By default only one core is used. On Windows, this must be set to 1.


CamaraLab/STvEA documentation built on April 2, 2024, 6:07 a.m.