construct_receptor_tf_matrix: Construct a matrix containing receptor-tf probability scores

Description Usage Arguments Value

View source: R/construct_receptor_tf_matrix.R

Description

Construct a matrix containing receptor-tf probability scores

Usage

1
2
3
4
5
6
7
construct_receptor_tf_matrix(
  weighted_networks,
  receptors,
  rtf_cutoff = 0.99,
  damping_factor = 0.5,
  receptors_as_cols = FALSE
)

Arguments

weighted_networks

A list of two weighted networks sig and gr (signaling network and gene regulatory network), in data frame/tibble with columns "from", "to" and "weight".

receptors

A list of receptor gene symbols.

rtf_cutoff

Receptor-tf scores lower than the "rtf_cutoff" quantile will be set to 0.

damping_factor

A number between 0 and 1, the probability that the random walker in the PPR algorithm will continue the walk on the graph.

receptors_as_cols

"TRUE" or "FALSE", indicates whether receptors should be in columns of the matrix and targets in rows or vice versa.

Value

A matrix containing receptor-tf scores


Pinlyu3/LRLoop documentation built on Jan. 7, 2022, 3:04 p.m.