Skip to contents

compute average expression of local neighborhood

Usage

neighborhood_signal(neighbors, signal)

Arguments

neighbors

list of local neighbors

signal

count matrix or feature matrix to average

Value

average feature matrix. The expression of each cell is replace by the average expression of the k nearest neighbors