buildStringNetwork | R Documentation |
This can reduce the dimension of the original network, as there may not be a mapping between peptide and gene id
buildStringNetwork(
stringTbl,
useNames = c("protein", "ensembl", "external"),
string.tbl = deprecated(),
use.names = deprecated()
)
stringTbl |
|
useNames |
|
string.tbl |
|
use.names |
a new matrix with gene ids instead of peptide ids. The size of matrix can be different as there may not be a mapping or a peptide mapping can have multiple genes.
stringDBhomoSapiens()
interactions <- stringDBhomoSapiens(scoreThreshold = 100)
string_network <- buildStringNetwork(interactions)
# number of edges
sum(string_network != 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.