View source: R/summary_and_plot_functions.R
combine_summary | R Documentation |
Combine PubMed search summary and STRING gene metrics.
combine_summary(
pubmed_search_results,
string_results,
file_directory = NULL,
export_format = "csv",
export = FALSE,
threshold_percentage = 20
)
pubmed_search_results |
Data frame with PubMed search results. |
string_results |
Data frame with STRING metrics. |
file_directory |
Directory for saving the output summary. Defaults to NULL. |
export_format |
Format for export, either "csv", "tsv", or "excel". |
export |
Logical indicating whether to export the summary. Defaults to FALSE. |
threshold_percentage |
Percentage threshold for ranking (default is 20%). |
A data frame with combined summary including connectivity, precedence, and category.
pubmed_data <- data.frame(Gene = c("Gene1", "Gene2"), PubMed_Rank = c(1, 2))
string_data <- data.frame(Gene = c("Gene1", "Gene2"), Connectivity_Rank = c(2, 1))
combined <- combine_summary(pubmed_data, string_data, export = FALSE)
print(combined)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.