Assembles information, in HTML format, regarding a gene symbol identifier

geneinfo_2_html(gene_id, res_de = NULL)

Arguments

gene_id

Character specifying the gene identifier for which to retrieve information

res_de

A DESeqResults object, storing the result of the differential expression analysis. If not provided, the experiment-related information is not shown, and only some generic info on the identifier is displayed. The information about the gene is retrieved by matching on the SYMBOL column, which should be provided in res_de.

Value

HTML content related to a gene identifier, to be displayed in web applications (or inserted in Rmd documents)

Details

Creates links to the NCBI and the GeneCards databases

Examples

geneinfo_2_html("ACTB")
#> <b>ACTB</b><br/>Link to the NCBI Gene database: <a href = "http://www.ncbi.nlm.nih.gov/gene/?term=ACTB[sym]" target = "_blank" class = "btn btn-primary" style = "color: #ffffff; background-color: #0092AC">ACTB</a><br/>Link to the GeneCards database: <a href = "https://www.genecards.org/cgi-bin/carddisp.pl?gene=ACTB" target = "_blank" class = "btn btn-primary" style = "color: #ffffff; background-color: #0092AC">ACTB</a><br/>Link to the GTEx Portal: <a href = "https://www.gtexportal.org/home/gene/ACTB" target = "_blank" class = "btn btn-primary" style = "color: #ffffff; background-color: #0092AC"><i class="fa fa-dna"></i>ACTB</a><br/>
geneinfo_2_html("Pf4")
#> <b>Pf4</b><br/>Link to the NCBI Gene database: <a href = "http://www.ncbi.nlm.nih.gov/gene/?term=Pf4[sym]" target = "_blank" class = "btn btn-primary" style = "color: #ffffff; background-color: #0092AC">Pf4</a><br/>Link to the GeneCards database: <a href = "https://www.genecards.org/cgi-bin/carddisp.pl?gene=Pf4" target = "_blank" class = "btn btn-primary" style = "color: #ffffff; background-color: #0092AC">Pf4</a><br/>Link to the GTEx Portal: <a href = "https://www.gtexportal.org/home/gene/Pf4" target = "_blank" class = "btn btn-primary" style = "color: #ffffff; background-color: #0092AC"><i class="fa fa-dna"></i>Pf4</a><br/>