check_rec_pres: Helper function to check whether receptor is present in...

View source: R/get_LR_interact.R

check_rec_presR Documentation

Helper function to check whether receptor is present in target cell type

Description

Helper function to check whether receptor is present in target cell type

Usage

check_rec_pres(
  container,
  lig_ct_exp,
  rec_elements,
  target_ct,
  percentile_exp_rec
)

Arguments

container

environment Project container that stores sub-containers for each cell type as well as results and plots from all analyses

lig_ct_exp

numeric Scaled expression for a ligand in the source cell type

rec_elements

character One or more components of a receptor complex

target_ct

character The name of the target cell type

percentile_exp_rec

numeric The percentile of ligand expression above which all donors need to have at least 5 cells expressing the receptor.

Value

A logical indicating whether receptor is present or not.


scITD documentation built on Sept. 8, 2023, 5:11 p.m.