Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/biogridDataDownload.R
This function downloads an interaction data set from the BioGRID into an user-specified folder and extracts an interaction matrix for a given species.
1 | biogridDataDownload(link, species = "Dm", dataDirectory=".", verbose=TRUE)
|
link |
the link (url) from where the data should be downloaded (in tab2 format). If this argument is missing or NULL, the default link (version 3.1.89, valid on Jun. 11 2012) will be used. |
species |
a single character value specifying the species for which the data should be read. The current version supports one of the following species: "Dm" ("Drosophila_melanogaster"), "Hs" ("Homo_sapiens"), "Rn" ("Rattus_norvegicus"), "Mm" ("Mus_musculus"), "Ce" ("Caenorhabditis_elegans"). |
dataDirectory |
the directory to store downloaded file |
verbose |
a single logical value specifying to display detailed messages (when verbose=TRUE) or not (when verbose=FALSE) |
This function is made to work on the tab2 format from the Biogrid (i.e. the first line is a header containing the columns names).
a matrix with one row for each interaction, and three columns: InteractorA, InteractorB (both given by their Entrez Identifiers) and InteractionType (physical or genetic).
Camille Terfve, Xin Wang
Stark et al. BioGRID: a general repository for interaction datasets. Nucleic Acids Research 2006 34(Database Issue):D535-D539
1 2 3 4 5 | ## Not run:
InteractionsData<-biogridDataDownload(species="Dm", dataDirectory="TestDir",
verbose=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.