Description Usage Arguments Details Value References See Also Examples
This method is used to format the PPI file which is downloaded from the PINA database (MITAB Format).
1 2 3 | formatPINAPPI(input, output)
## S4 method for signature 'character,character'
formatPINAPPI(input, output)
|
input |
File downloaded from the PINA database (character(1)). |
output |
Output file (character(1)). |
The input file (MITAB Format) is downloaded from the PINA database (http://cbg.garvan.unsw.edu.au/pina/).
Access http://cbg.garvan.unsw.edu.au/pina/interactome.stat.do to download PPI files with the MITAB format
for different species.
If you make use of this file, please cite the PINA database.
Each line of the output file contains Swiss-Prot accession numbers and gene names for two interacting proteins.
The edge value will be assigned as 1
for each link between two interacting proteins.
This may be treated as the “cost” while identifying the shortest paths between proteins.
Advanced users can edit the file and change this value for each edge.
Cowley, M.J. and et al. (2012) PINA v2.0: mining interactome modules. Nucleic Acids Res, 40, D862-865.
Wu, J. and et al. (2009) Integrated network analysis platform for protein-protein interactions. Nature methods, 6, 75-77.
cisPath
, formatSIFfile
, formatiRefIndex
, formatSTRINGPPI
, combinePPI
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | library(cisPath)
input <- system.file("extdata", "Homo_sapiens_PINA100.txt", package="cisPath")
output <- file.path(tempdir(), "PINAPPI.txt")
formatPINAPPI(input, output)
## Not run:
outputDir <- file.path(getwd(), "cisPath_test")
dir.create(outputDir, showWarnings=FALSE, recursive=TRUE)
# Download PINA PPI (MITAB format) for humans only (~96M)
destfile <- file.path(outputDir, "Homo_sapiens.txt")
cat("Downloading...\n")
download.file("http://cbg.garvan.unsw.edu.au/pina/download/Homo%20sapiens-20121210.txt", destfile)
# Format PINA PPI
fileFromPINA <- file.path(outputDir, "Homo_sapiens.txt")
PINAPPI <- file.path(outputDir, "PINAPPI.txt")
formatPINAPPI(fileFromPINA, output=PINAPPI)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.