Description Usage Arguments Value Author(s) See Also Examples
This is the primary interface to the RefNet services, in which approximately thirty interaction providers return annotated molecular (often protein-protein) interactions in response to a standard query language ("MIQL" – the molecular interaction query language). This method is thus an R interface to MIQL, with several conveniences added.
In the most typical and basic use, one specifies a species and a gene symbol, and RefNet returns a data.frame listing all of the interactions for that gene (or the protein it encodes) from all RefNet providers, of all interaction types and all detection methods.
More focused queries are easily accomplished: all arguments (execpt for the RefNet object the method dispatches on) are optional, and each specified argument limits the search space: to one or more genes, a publication identifier (typically a pubmed id), interaction types, a detection methods, and/or one or more species.
In principle you could obtain all interactions, of all types, from all providers, by using default values for all of the search-constraining arugments. But this would be very unwise! Highly specific or exploratory queries of modest scope are encouraged, as are bulk downloads using ftp directed at the providers' web sites for acquiring large interaction datasets.
1 2 3 4 5 6 7 8 9 10 |
object |
a |
id |
one or more If multiple ids are supplied, then only interactions which occur between any two of the ids is returned. If only one id is supplied, all interactions are reported in which that id participates. |
species |
One or more |
speciesExclusive |
a |
type |
a |
provider |
a |
detectionMethod |
a |
publicationID |
a |
quiet |
a |
A data.frame with 16 columns, and one row for every interaction, described as an annotated A/B relationship, with self-describing column names.
Paul Shannon
providers, addStandardNames, IDMapper
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | refnet <- RefNet()
providers(refnet)
# query all providers for all known Myc interactions
tbl.1 <- interactions(refnet, id="Myc", species="9606",
provider="gerstein-2012")
# all Myc/EP400 interactions known to BioGrid
# make sure that BioGrid is currently available
if("BioGrid" %in% providers(refnet))
tbl.2 <- interactions(refnet, c("Myc", "EP400"), species="9606",
provider="BioGrid")
# or those between Myc and any other molecule, detected by
# the "pull down" proteomics technique and judged to be
# a "direct interaction"
# recon2 temporarily unavailable. will be added to AnnotationHub soon
# tbl.3 <- interactions(refnet, "L-alanine transaminase", provider="recon2")
# tbl.3[, c("A.common", "type", "B.common", "A.canonical", "B.canonical")]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.