construct_receptor_target_matrix: Construct a matrix containing receptor-target regulatory...

Description Usage Arguments Value

View source: R/construct_receptor_target_matrix.R

Description

Construct a matrix containing receptor-target regulatory probability scores

Usage

1
2
3
4
5
6
7
8
9
construct_receptor_target_matrix(
  weighted_networks,
  receptors,
  rtf_cutoff = 0.99,
  damping_factor = 0.5,
  secondary_targets = FALSE,
  receptors_as_cols = TRUE,
  remove_direct_links = "no"
)

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.

secondary_targets

"TRUE" or "FALSE", indicates whether putative secondary targets should be included.

receptors_as_cols

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

remove_direct_links

Indicates whether direct ligand-target and receptor-target links in the gene regulatory network should be kept or not. "no": keep links; "ligand": remove direct ligand-target links; "ligand-receptor": remove both direct ligand-target and receptor-target links.

Value

a matrix containing receptor-target scores


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