Skip to contents

Create a link to Reactome

Usage

create_link_reactome(val)

Arguments

val

Character string, specifying the identifier as in the Reactome database

Value

A string with the html code to create a button linking to the specified identifier

Examples

# TODO: possibly this could and should live within mosdef...

# https://reactome.org/content/detail/R-HSA-69239
create_link_reactome("R-HSA-69239")
#> [1] "<a href=\"https://reactome.org/content/detail/R-HSA-69239\" target=\"_blank\" class=\"btn btn-primary\" style = \"color: #ffffff; background-color: #0092AC\">R-HSA-69239</a>"