STRINGutils provides additional utilities for STRINGdb such as getting SVG file of STRING network and highlighting features of interest.
You can install STRINGutils with:
devtools::install_github("chiasinL/STRINGutils")
For more thorough walkthrough of the package, please see the vignette.
Getting SVG file of STRING network:
library(STRINGutils)
svg <- get_svg(string_db, hits, file = "my_network.svg")
If we have a list of proteins of interest, the full or sub- STRING network of the proteins can be obtained. These proteins will be highlighted by the colors of choice.
For full network:
plot_features(example1_mapped, colors_vec, string_db, entire = TRUE)
For subnetwork:
plot_features(example1_mapped, colors_vec, string_db)