View source: R/script_disease_relevant_tissues.R
It uses visNetwork to build a neteworks showing all short pathways connecting disease genes with putative drug targets.
1 2 3 4 5 6 7 8 9 10 11 | visualize.graph(
tissue_scores,
disease_genes,
ppi_network,
directed_network = FALSE,
tissue_expr_data,
top_targets = NULL,
orgdb_go = "org.Hs.eg.db",
db = "kegg",
verbose = FALSE
)
|
tissue_scores |
a data.frame as the one compiled by |
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 |
top_targets |
character vector indicating a list of ENTREZ id to be used for the slection of the shortest paths. |
orgdb_go |
a character specifying the organism for GO. Deafault value is |
db |
character indicating the database to consider for enrichment analysis.
Possible values are: |
verbose |
logical indicating whether the messages will be displayed or not in the screen. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.