crosstalk_subgraph {crosstalkr} | R Documentation |
Helper function to generate subgraph from crosstalk_df output of compute_crosstalk
Description
Useful if the user wants to carry out further analysis or design custom visualizations.
Usage
crosstalk_subgraph(crosstalk_df, g, seed_proteins, tg = TRUE)
Arguments
crosstalk_df |
a dataframe containing the results of |
g |
igraph network object. |
seed_proteins |
user defined seed proteins |
tg |
bool do we want to tidy the graph for plotting? |
Value
a tidygraph structure containing information about the crosstalkr subgraph
Examples
## Not run:
ct_df <- compute_crosstalk(c("EGFR", "KRAS"))
g <- prep_biogrid()
crosstalk_subgraph(ct_df, g = g, seed_proteins = c("EGFR", "KRAS"))
## End(Not run)
[Package crosstalkr version 1.0.5 Index]