Description Usage Arguments Value Examples
View source: R/link_generator.R
Takes a base url and a column from a data frame to generate a vector of URLs. You must use html format to specify special characters and spaces. Used in See_GEM_formatter function to format specified colums.
1 | link_generator(base_url, ID, split_on = ",", link_name = NA)
|
base_url |
The consistent base URL |
ID |
The column ID to build the unique part of the URL |
split_on |
What delimiter to split the field on? Defaults to comma. |
link_name |
What to use for the link name? Defaults to using the row value of the column |
None
1 | link_generator('https://www.ncbi.nlm.nih.gov/projects/SNP/snp_ref.cgi?rs=', 'rs1800728')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.