Description Usage Arguments Details Value
Plot nodes most impacting a pathway as a network diagram with node color corresponding to z-score and
shape to pathway membership. The most impactful nodes are inferred by assuming the input here is the same as
was used to calculate pathway significance in pants
with or without mediation.
1 2 |
feat.tab |
Matrix-like object for all analytes with rownames as analyte names, which should
have some overlap with |
impact.tab |
Matrix-like object with rownames as analyte names and a column named |
Gmat.pwy |
Binary feature by pathway inclusion matrix, with this pathway as 1st column.
Accessible via |
gr |
graph object of class |
annot.v |
Named character vector of annotations of all analytes to replace analyte IDs.
Ignored if it is |
ntop |
Number of top impactful analytes to plot. Their network neighbors may also be included. |
name |
Name of file to plot to. If |
repel |
Logcal; use the repel functionality from ggrepel to avoid overlapping text? |
plot |
Logical; should plot be generated? |
seed |
Integer seed to set for reproducility if |
If some ntop
nodes are outside pwy
, then their neighbor nodes inside pwy
are also
plotted. These nodes are then connected based on the interaction network.
Unmeasured nodes have stat of NA
and are drawn gray.
Invisibly, a tbl_graph
, a subclass of
igraph so every igraph method will work as expected.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.