Description Usage Arguments Value Author(s)
View source: R/get_candidate_gene.R
Applys the random walk approach to get the most likely SNP gene from the list of provided SNP genes
1 2 | get_candidate_gene(snp_id, snp_genes, trans_cpgs, ppi_graph,
tfbs_annotation, gene_only = FALSE)
|
snp_id |
Character id of the SNP in the locus |
snp_genes |
Character vector of the genes encoded near the SNP |
trans_cpgs |
Character vector of the trans CpGs associated to the SNP |
ppi_graph |
graphNEL object containing the PPIs (e.g. from STRING) |
tfbs_annotation |
Logical indicator matrix with trans entities in the rows and transcription factors as columns (bincinding site information of transcription factors at trans entities) |
gene_only |
Logical whether to return only the identified candidate gene or also the rest of the random walk results (default: FALSE) |
The candidate gene as determined by the random walk analysis
Johann Hawe <johann.hawe@helmholtz-muenchen.de>
#'@examples ## Not run: data(ppi_string) data(test_data) data(tfbs_annotation) candidate_gene <- get_candidate_gene(snp_id, snp_genes, trans_cpgs, ppi_string, tfbs_annotation, gene_only = TRUE) print(candidate_gene) ## End(Not run) —————————————————————————–
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.