plot_connectivity_precedence: Plot Connectivity vs. Precedence

View source: R/summary_and_plot_functions.R

plot_connectivity_precedenceR Documentation

Plot Connectivity vs. Precedence

Description

Create a scatter plot of Connectivity Rank vs. PubMed Rank.

Usage

plot_connectivity_precedence(
  combined_summary,
  file_directory = NULL,
  export = FALSE
)

Arguments

combined_summary

Data frame with combined summary including categories.

file_directory

Directory for saving the output plot. Defaults to NULL.

export

Logical indicating whether to export the plot. Defaults to FALSE.

Value

Invisibly returns a ggplot object.

Examples

combined_data <- data.frame(Gene = c("Gene1", "Gene2"), Connectivity_Rank = c(1, 2),
                            PubMed_Rank = c(2, 1),
                            Category = c("High Connectivity - High Precedence", "Other"))
plot_connectivity_precedence(combined_data, export = FALSE)

DeSciDe documentation built on Sept. 1, 2025, 1:08 a.m.