Skip to contents

Compute GSCC features from kernel matrices

Usage

computeGSCC(
  kernel,
  Dcell,
  cell_names,
  patient_names,
  unifKernel = NULL,
  norm = FALSE,
  lab = 1
)

Arguments

kernel

Kernel array from compute_kernel().

Dcell

Patient-by-cell-type abundance matrix.

cell_names

Character vector of cell-type labels.

patient_names

Character vector of patient names.

unifKernel

Optional normalized baseline kernel.

norm

Logical; if TRUE, divide by the baseline GSCC values.

lab

Scaling factor for interaction strengths.

Value

A data frame with GSCC feature values per patient.