Skip to contents

See the return value if you want to specify the cell-type level ground truth.

Usage

cci_cell_type_params(
  tree,
  total.lr,
  ctype.lr = 4:6,
  step.size = 1,
  rand = TRUE,
  discrete = FALSE
)

Arguments

tree

Use the same value for sim_true_counts().

total.lr

Total number of LR pairs in the database. Use the same value for sim_true_counts().

ctype.lr

If rand is TRUE, how many LR pairs should be enabled between each cell type pair. Should be a range, e.g. 4:6.

step.size

Use the same value for sim_true_counts().

rand

Whether fill the matrix randomly

discrete

Whether the cell population is discrete. Use the same value for sim_true_counts().

Value

A 3D matrix of (n_cell_type, n_cell_type, n_lr). The value at (i, j, k) is 1 if there exist CCI of LR-pair k between cell type i and cell type j.