check_and_liftCC: Check and lift cell type compositions between 2 CellChat...

View source: R/func_net.R

check_and_liftCCR Documentation

Check and lift cell type compositions between 2 CellChat objects

Description

This function check the cell type compositions in 2 input CellChat objects, use the liftCellChat function from CellChat to update the slot related to the cell-cell communication network, including slots object@net, object@netP and object@idents, so that both objects will have same cell labels.

Usage

check_and_liftCC(x1, x2)

Arguments

x1

A CellChat object containing one dataset.

x2

A CellChat object containing one dataset.

Details

NA

Value

A list containing updated CellChat objects.

Author(s)

I-Hsuan Lin


ycl6/scRUtils documentation built on Feb. 18, 2025, 6:14 a.m.