Skip to contents

Calculate direct communication features from a kernel

Usage

calculateDirect(kernel, unifKernel = NULL, cells, bundle = TRUE)

Arguments

kernel

Kernel array returned by compute_kernel().

unifKernel

Optional normalized baseline kernel.

cells

Character vector of cell-type names.

bundle

Logical; if TRUE, combine reciprocal directions.

Value

A patient-by-feature data frame of direct communication scores.