create_network_plot {ggpicrust2} | R Documentation |
Create network visualization of GSEA results
Description
Create network visualization of GSEA results
Usage
create_network_plot(
gsea_results,
similarity_measure = "jaccard",
similarity_cutoff = 0.3,
n_pathways = 20,
layout = "fruchterman",
node_color_by = "NES",
edge_width_by = "similarity"
)
Arguments
gsea_results |
A data frame containing GSEA results from the pathway_gsea function |
similarity_measure |
A character string specifying the similarity measure: "jaccard", "overlap", or "correlation" |
similarity_cutoff |
A numeric value specifying the similarity threshold for filtering connections |
n_pathways |
An integer specifying the number of pathways to display |
layout |
A character string specifying the network layout algorithm: "fruchterman", "kamada", or "circle" |
node_color_by |
A character string specifying the node color mapping: "NES", "pvalue", or "p.adjust" |
edge_width_by |
A character string specifying the edge width mapping: "similarity" or "constant" |
Value
A ggplot2 object
[Package ggpicrust2 version 2.1.2 Index]