Compute triangle features from kernel matrices
Usage
computeTriangles(
kernel,
cell_names,
patient_names,
unifKernel = NULL,
norm = FALSE,
bundle = TRUE
)Arguments
- kernel
Kernel array from
compute_kernel().- cell_names
Character vector of cell-type names.
- patient_names
Character vector of patient names.
- unifKernel
Optional normalized baseline kernel.
- norm
Logical; if
TRUE, divide by the baseline triangle scores.- bundle
Logical; if
TRUE, aggregate directionally equivalent triangles.