View source: R/WPPI_functions.R
weighted_adj | R Documentation |
Converts adjacency to weighted adjacency using network topology
information (shared neighbors between connected nodes via
common_neighbors
) integrated with genome and phenotype
factors from GO and HPO annotation terms (functionality computed by
functional_annot
). At the end, the weighted adjacency
matrix is normalized by column.
weighted_adj(graph_op, GO_data, HPO_data)
graph_op |
Igraph object based on OmniPath PPI interactions from
|
GO_data |
Data frame with GO annotations as provided by
|
HPO_data |
Data frame with HPO annotations as provided by
|
Weighted adjacency matrix based on network topology and functional similarity between interacting proteins/genes based on ontology databases.
random_walk
prioritization_genes
common_neighbors
graph_from_op
subgraph_op
score_candidate_genes_from_PPI
wppi_go_data
wppi_hpo_data
db <- wppi_data() GO_data <- db$go HPO_data <- db$hpo # Genes of interest genes_interest <- c("ERCC8", "AKT3", "NOL3", "GFI1B", "CDC25A", "TPX2", "SHE") # Graph object with PPI graph_op <- graph_from_op(db$omnipath) graph_op_1 <- subgraph_op(graph_op, genes_interest, 1) # Filter ontology data GO_data_filtered <- filter_annot_with_network(GO_data, graph_op_1) HPO_data_filtered <- filter_annot_with_network(HPO_data, graph_op_1) # Weighted adjacency w_adj <- weighted_adj(graph_op_1, GO_data_filtered, HPO_data_filtered)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.