Skip to contents

Flatten multiple CCC graphs into aggregate one

Usage

flatten_ccc_graph_list(ccc_graph_ls)

Arguments

ccc_graph_ls

a list of spatial CCC graphs

Value

a spatial CCC graph

flattening_CCC_graph

The following node parameters will be kept:

  • name

  • spot_x, spot_y

  • in_tissue

  • array_row, array_col

  • sizeFactor

The following node parameters will be aggregated over all LR pairs:

  • n, n.src, n.dst, LRscore.sum.src, and LRscore.sum.dst will be summed.

  • node_is_src and node_is_dst will be OR'd

  • n.inflow and LRscore.sum.inflow will be summed.