get_GI_network | R Documentation |
Creates a network of SNPs where each SNP is connected as in the GM network and, in addition, to all the other SNPs pertaining to any interactor of the gene it is mapped to. Corresponds to the gene-interaction (GI) network described by Azencott et al.
get_GI_network(
gwas,
organism = 9606,
snpMapping = snp2ensembl(gwas, organism),
ppi = get_gxg("biogrid", organism, flush),
col_ppi = c("gene1", "gene2"),
col_genes = c("snp", "gene"),
flush = FALSE
)
gwas |
A SnpMatrix object with the GWAS information. |
organism |
Tax ID of the studied organism. The default is 9606 (human). |
snpMapping |
A data.frame informing how SNPs map to genes. It contains
minimum two columns: SNP id and a gene it maps to. Each row corresponds to
one gene-SNP mapping. Unless column names are specified using
|
ppi |
A data.frame describing protein-protein interactions with at least
two colums. Gene ids must be the contained in snpMapping. Unless column names
are specified using |
col_ppi |
Optional, length-2 character vector with the names of the two columns involving the protein-protein interactions. |
col_genes |
Optional, length-2 character vector with the names of the two columns involving the SNP-gene mapping. The first element is the column of the SNP, and the second is the column of the gene. |
flush |
Remove cached results? Boolean value. |
An igraph network of the GI network of the SNPs.
Azencott, C. A., Grimm, D., Sugiyama, M., Kawahara, Y., & Borgwardt, K. M. (2013). Efficient network-guided multi-locus association mapping with graph cuts. Bioinformatics, 29(13), 171-179. https://doi.org/10.1093/bioinformatics/btt238
get_GI_network(minigwas, snpMapping = minisnpMapping, ppi = minippi)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.