Description Usage Arguments Value
View source: R/construct_receptor_target_matrix.R
Construct a matrix containing receptor-target regulatory probability scores
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"
)
|
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. |
a matrix containing receptor-target scores
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.