Skip to contents

Function to calculate p-values as in CellPhoneDB

Usage

cellphonedb_score(
  lr_res,
  perm_means,
  parallelize,
  workers,
  score_col = "pvalue",
  verbose = TRUE,
  ...
)

Arguments

lr_res

liana pipe results

perm_means

permutations obtained via `get_permutations`

parallelize

logical whether to parallelize

workers

Number of workers to be used in parallelization

score_col

name of the score column

verbose

logical for verbosity

...

placeholder

Value

lr_res + pvalue and lr.mean