Description Usage Arguments Value
When listing features in an interactive table, it's often useful to link
the feature to an external webpage that has more information about that
feature. Functions to genes to their NCBI or GeneCards webpage via their
feature_id
are provided via ncbi.entrez.link
and
genecards.entrez.link
. The column used to transform into a link
is specified by link.col
.
If link.col
is not found in the data.frame x
then the provided
functions are NO-OPS, ie. the same data.frame is simply returned.
1 2 3 | ncbi.entrez.link(x, link.col = "symbol")
genecards.entrez.link(x, link.col = "symbol")
|
x |
a data.frame from |
link.col |
the column in |
a modified x
with an html link in link.col
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.