AdjScoreProteins: Use the Adjacency Score to evaluate colocalization of given...

View source: R/feature_scores.R

AdjScoreProteinsR Documentation

Use the Adjacency Score to evaluate colocalization of given pairs of proteins in the CODEX spatial dimensions

Description

Use the Adjacency Score to evaluate colocalization of given pairs of proteins in the CODEX spatial dimensions

Usage

AdjScoreProteins(
  stvea_object,
  protein_pairs = NULL,
  k = 5,
  c = 0,
  num_cores = 1,
  num_perms = 1000,
  perm_estimate = TRUE
)

Arguments

stvea_object

STvEA.data class object containing CODEX protein expression and CODEX spatial coordinates

protein_pairs

a 2 column matrix of protein pairs where each row specifies the names of the proteins in a pair. If NULL, all pairs of columns in the codex_protein matrix are used.

k

number of nearest neighbors to create graph from CODEX spatial information

c

constant used to determine width of diffusion, must be 0 <= c

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.

num_perms

number of permutations used to build the null distribution for each feature. By default is set to 1000.

perm_estimate

boolean indicating whether Gaussian distribution parameters should be determined from num_perms permutations to estimate the p-value. By default is set to TRUE.


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