plot_string_network: Plot STRING Network

View source: R/stringdb_functions.R

plot_string_networkR Documentation

Plot STRING Network

Description

Plot STRING network interactions using STRINGdb.

Usage

plot_string_network(
  string_db,
  string_ids,
  file_directory = NULL,
  export = FALSE
)

Arguments

string_db

A STRINGdb object.

string_ids

A list of STRING IDs.

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 NULL.

Examples

library(STRINGdb)
string_db <- STRINGdb$new(species = 9606)
string_ids <- c("9606.ENSP00000269305", "9606.ENSP00000357940")
plot_string_network(string_db, string_ids, file_directory = tempdir(), export = FALSE)

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