powered by
Plot STRING interactions degree vs. clustering.
plot_clustering(string_results, file_directory = NULL, export = FALSE)
Invisibly returns the ggplot object.
Data frame with STRING metrics.
Directory for saving the output plot. Defaults to NULL.
Logical indicating whether to export the plot. Defaults to FALSE.
# Example data frame string_results <- data.frame(Degree = c(10, 5), Clustering_Coefficient_Percent = c(20, 10)) plot_clustering(string_results, file_directory = tempdir(), export = FALSE)
Run the code above in your browser using DataLab