Description Usage Arguments Details Value Examples
View source: R/get_string_ppi_matrix.R
This function generates a matrix of PPI scores available in STRING database within a given set of genes.
1 2 3 4 5 6 7 8 9 10 11 | get_string_ppi_matrix(
genes,
directed = FALSE,
version = "11",
species = 9606,
score.threshold = 0,
string.dir = "",
max.homology.bitscore = Inf,
benchmark.pathway = NULL,
normalize.score = T
)
|
genes |
character vector. gene names (HGNC gene symbols). |
directed |
logical. Directed interactions? |
version |
character. Version of STRING database. |
species |
numeric. Species code for STRING (9606 for homo sapiens). |
score.threshold |
numeric. A value between 0 and 1000.
Any score below |
string.dir |
character. Local directory where STRING database
will be stored locally so that it can be used offline.
If |
max.homology.bitscore |
numeric. Maximum homology score.
Use |
benchmark.pathway |
character. Pathway type to benchmark.
Examples: |
normalize.score |
logical. Should the scores be normalized?
If |
Note: all the genes are expected as HGNC gene symbols.
A 2-dimensional matrix with interactions between the given genes. Note: any gene that cannot be mapped to a protein in STRING will be excluded.
1 2 3 | genes = c("TP53", "RBM3", "SF3", "LIM12", "MDM4", "TMEM160",
"TP53BP2", "MDM2", "PDR", "MEG3", "EGFR")
interactions = get_string_ppi_matrix(genes, version = "11")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.