Description Usage Arguments Value See Also Examples
This can reduce the dimension of the original network, as there may not be a mapping between peptide and gene id
1 | buildStringNetwork(string.tbl, use.names = "protein")
|
string.tbl |
matrix with colnames and rownames as ensembl peptide id (same order) |
use.names |
default is to use protein names ('protein'), other options are 'ensembl' for ensembl gene id or 'external' for external gene 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
1 2 3 4 5 6 7 8 | ## Not run:
all.interactions.700 <- stringDBhomoSapiens(score_threshold = 700)
string.network <- buildStringNetwork(all.interactions.700,
use.names = 'external')
# number of edges
sum(network != 0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.