compute_CCpair_score: compute_CCpair_score

Description Usage Arguments Value

View source: R/compute_CCpair_score.R

Description

compute_CCpair_score computes the score for each cell - cell pair for all the patients.

Usage

1
2
3
4
5
6
7
8
compute_CCpair_score(
  celltype1,
  celltype2,
  intercell_network,
  lrpairs_binary,
  lr_frequency,
  compute_log = TRUE
)

Arguments

celltype1

string character with first cell type involved in the interaction

celltype2

string character with second cell type involved in the interaction

intracell.network

matrix with data on cell types interaction network

lrpairs.binary

binary vector displaying LR pairs with non-zero frequency

lr.frequency

numeric vector with LR pairs frequency across the whole TCGA database

compute.log

boolean variable in order to take the log of the weighted score

cancertype

string character

Value

numeric vector with weighted scores


olapuentesantana/easier_manuscript documentation built on Sept. 22, 2021, 9:42 p.m.