STRINGdb_network | R Documentation |
Maps a vector of gene symbols to STRINGdb and plots the resulting protein-protein interaction network.
STRINGdb_network(
gene_vector,
species = 9606,
version = "11.5",
score_threshold = 400,
remove_unmapped = TRUE,
plot = TRUE
)
gene_vector |
A character vector of gene symbols (e.g., DE genes). |
species |
Numeric: NCBI taxonomy ID for the species (default: 9606 for Homo sapiens). |
version |
Character: STRING database version (default: "11.5"). |
score_threshold |
Numeric: Minimum interaction confidence score (default: 400). |
remove_unmapped |
Logical: Whether to remove unmapped genes (default: TRUE). |
plot |
Logical: Whether to display the STRING network plot (default: TRUE). |
A data frame of mapped genes with STRING IDs. Optionally displays the network plot.
de_genes <- c("CD3D", "IL2", "FOXP3", "CD28")
result <- plot_string_network(de_genes, species = 9606)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.