Description Usage Arguments Details Value
View source: R/script_tissue_specific_efficacy_score.R
Determine weighted shortest paths connecting a gene to specified disease-associated genes within relevant tissue-specific PPIs.
1 2 3 4 5 6 7 8 9 10 | weighted.shortest.path(
disease_genes,
ppi_network,
directed_network = F,
tissue_expr_data,
dis_relevant_tissues,
W,
cutoff = 1.6,
verbose = F
)
|
disease_genes |
character vector containing the IDs of the genes related to a particular disease.
Gene IDs are expected to match with those provided in |
ppi_network |
a matrix or a data frame with at least two columns reporting the ppi connections (or edges). Each line corresponds to a direct interaction. Columns give the gene IDs of the two interacting proteins. |
directed_network |
logical indicating whether the PPI is directed. |
tissue_expr_data |
a numeric matrix or data frame indicating expression significances
in the form of Z-scores. Columns are tissues and rows are genes; colnames and rownames must be provided.
Gene IDs are expected to match with those provided in |
dis_relevant_tissues |
a named numeric vector indicating the significances of disease-tissue associations in the form of Z-scores. Names correspond to tissues. |
W |
a list of discretized Borda-aggregated rankings for each tissue as the one compiled by |
cutoff |
numeric value indicating the cut-off for the disease-associated tissue scores. |
verbose |
logical indicating whether the messages will be displayed or not in the screen. |
This function implements the core of the tissue-specific score described in \insertRefFailli2019ThETA.
A list of two score objects:
- shortest_paths: a shortest path score for each pair <gene, tissue>;
- shortest_paths_avg: average of shortest path scores compiled from all relavant tissues.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.