new_blisa: Create a blisa object

View source: R/blisa-class.R

new_blisaR Documentation

Create a blisa object

Description

Constructor for the blisa S3 class, which stores the full output of blisa.

Usage

new_blisa(
  LR_results,
  bins,
  spatial_weights,
  CCI_scores = NULL,
  level = c("lr", "pathway")
)

Arguments

LR_results

Data frame of BLISA results, one row per ligand-receptor pair.

bins

An sf object of hexagonal bin polygons.

spatial_weights

Spatial weights list from computeSpatialWeights.

CCI_scores

Wide data frame of cell-cell interaction scores from runCCI, or NULL if CCI was not computed.

level

Character. The unit each row of LR_results represents: "lr" (ligand-receptor pairs, the default) or "pathway" (from blisaPathway). Controls labelling in print and plots.

Value

An object of class blisa.


blisa documentation built on Oct. 30, 2026, 9:10 a.m.