Global_Permutations {SpaCCI}R Documentation

Perform Global Permutations

Description

This function performs global permutations on the spatial transcriptomics data.

Usage

Global_Permutations(
  permutationMatrix,
  permut_col,
  cellPropMatrix,
  spotGeneMatrix,
  LigandVectorIndex,
  ReceptorVectorIndex,
  null_expression,
  nBoot
)

Arguments

permutationMatrix

A matrix containing permutations.

permut_col

A column matrix of permutations.

cellPropMatrix

A matrix of cell type proportions.

spotGeneMatrix

A matrix of gene expressions at spots.

LigandVectorIndex

A vector of ligand indices.

ReceptorVectorIndex

A vector of receptor indices.

null_expression

A matrix of null expression values.

nBoot

Number of bootstrap iterations.

Value

A matrix with the results of the global permutations.


[Package SpaCCI version 1.0.4 Index]