SPER: Calculate the SPER score list

View source: R/SPER.R

SPERR Documentation

Calculate the SPER score list

Description

This function calculates the SPER score list with the input of the distance matrix, the ST data and the cell-type spatial CoDa.

Usage

SPER(dist.mat, dist.list, ST.mat, CoDa.data, gene.list = NULL)

Arguments

dist.mat

Distance matrix after rounded

dist.list

Distance list which includes the value of interest in the distance matrix

ST.mat

The ST matrix

CoDa.data

Cell-type spatial compositional data

gene.list

Gene ID list; to specify SPER running on a given list of genes instead of all genes in the spatial transciptomics matrix.

Value

A list of matrix, each representing the SPER subscores at a given distance


tsinghua-ZTX/SPER documentation built on June 7, 2024, 5:30 a.m.