getNeighbor: Identify desired neighbors and calculate weighted expression...

View source: R/SPER.R

getNeighborR Documentation

Identify desired neighbors and calculate weighted expression levels

Description

This function calculates the weighted expression level of a gene to spots lying at a given distance.

Usage

getNeighbor(neighbor_dist, round.dist, ST.mat)

Arguments

neighbor_dist

A numeric input that indicates the distance between desired neighboring pairs

round.dist

The rounded distance matrix

ST.mat

The ST matrix

Value

A matrix


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