Description Usage Arguments Value Examples
View source: R/graph_internal.R
Generates a table of ligand:receptor association scores from the STRING database
1 2 3 4 5 6 7 8 9 10 11 |
ligands |
a vector of ligands |
receptors |
a vector of receptors |
species |
species to use - either mouse (default) or human |
dir.path |
output directory for storing STRINGdb data. If not provided uses current working directory |
string.ver |
STRING version to use. Default is unspecified (NULL). |
verbose |
whether to print additional information about run (default: FALSE) |
string.receptors |
a list of receptor names that STRING recognises (if cannot map defaults) |
string.ligands |
a list of ligand names that STRING recegnises (if cannot map defaults) |
string.input.map |
named vector of STRING-compatable gene symbols with names corresponding to genes in dataset |
a data-frame containing ligands, receptors and STRING association scores between them.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
make_STRING_table(ligands, receptors, species="mouse")
## Or if STRING doesn't recognize some genes
string.input.map <- c("Ackr3")
names(string.input.map) <- c("Cxcr7")
string.receptors <- c("Cxcr7")
make_STRING_table(ligands, receptors, species="mouse", string.receptors=string.receptors, string.input.map=string.input.map)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.