View source: R/feature_scores.R
AdjScoreClustersCODEX.internal | R 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. Takes matrices and data frames instead of STvEA.data class
AdjScoreClustersCODEX.internal(adj_matrix, codex_clusters, num_cores = 1)
adj_matrix |
a (preferrably sparse) binary matrix of adjacency between the cells in the CODEX spatial coordinates |
codex_clusters |
a vector of the cluster ID for each CODEX cell |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.