{
  "version": "https://jsonfeed.org/version/1.1",
  "title": "chem-bla-ics",
  "description": "Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.",
  "home_page_url": "https://chem-bla-ics.linkedchemistry.info/",
  "feed_url": "https://chem-bla-ics.linkedchemistry.info/2019/04/03/bioschemas-creativework-annotation-in.json",
  "icon": "https://chem-bla-ics.linkedchemistry.info/assets/images/chem-bla-ics_logo.png",
  "language": "en",
  "authors": [
    {
      "name": "Egon Willighagen",
      "url": "https://orcid.org/0000-0001-7542-0286",
      "_orcid": "0000-0001-7542-0286"
    }
  ],
  "items": [

    {
      "id": "https://doi.org/10.59350/bt7f7-bxq95",
      "url": "https://chem-bla-ics.linkedchemistry.info/2019/04/03/bioschemas-creativework-annotation-in.html",
      "title": "BioSchemas CreativeWork annotation in Bioconductor Vignettes",
      "content_html": "<p>Since the EU <a href=\"https://bh2018paris.info/\">BioHackathon</a> in Paris last year, I’ve\npicked up <a href=\"http://bioschemas.org/\">Bioschemas</a> stuff more extensively, to help\nthe <a href=\"https://elixir-europe.org/communities/metabolomics\">ELIXIR Metabolomics</a>\nand Toxicology (<a href=\"https://github.com/egonw/ELIXIR-Tox\">in development</a>) communities\ngetting their stuff more FAIR. We could annotate training material already (see\n<a href=\"https://www.dtls.nl/2018/07/19/toxicology-data-management-tutorials-automatically-collected-by-european-training-portal-tess/\">this ELIXIR NL post</a>),\nbut big boon was annotation of vignettes on <a href=\"http://bioconductor.org/\">Bioconductor</a>.\nOver the past 2-3 months I have been exploring this, and on Monday at the <a href=\"https://twitter.com/hashtag/metaRbolomics\">#metaRbolomics</a>\nmeeting in Wittenberg, with a room full or R users, I got the right pointers\nto a promising lead.</p>\n\n<p>So, because the vignettes are generated differently than Markdown on GitHub,\nI had to find the right hooks. In the end, I found these in one vignette adding\na Google Analytics tracker in the header of the file. Bingo!</p>\n\n<table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" class=\"tr-caption-container\" style=\"margin-left: auto; margin-right: auto; text-align: center;\"><tbody>\n<tr><td style=\"text-align: center;\"><img border=\"0\" data-original-height=\"671\" data-original-width=\"1600\" height=\"268\" src=\"/assets/images/Screenshot_20190403_094533.png\" width=\"640\" /></td></tr>\n<tr><td class=\"tr-caption\" style=\"text-align: center;\">Screenshot of Google's <a href=\"https://search.google.com/structured-data/testing-tool\">Structured Data Testing Tool</a>.</td></tr>\n</tbody></table>\n\n<p>So, here’s how to do it. The R package set up allows adding custom HTML to the\ngenerated HTML, either in the header and at the start or end of the body. I\nwent for the header. But I had to wait two days for the BioConductor website\nto make a new <a href=\"https://bioconductor.org/packages/devel/bioc/html/BridgeDbR.html\">BridgeDbR</a>\npackage binary (1st day), and for it to update the website (2nd day).</p>\n\n<p>The HTML snippet (saved as <span style=\"font-family: &quot;courier new&quot; , &quot;courier&quot; , monospace;\">bioschemas.html</span>)\nto add is basically a <span style=\"font-family: &quot;courier new&quot; , &quot;courier&quot; , monospace;\">&lt;script&gt;</span>\nelement with a fragment of JSON-LD:</p>\n\n<div class=\"language-html highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"nt\">&lt;script </span><span class=\"na\">type=</span><span class=\"s\">\"application/ld+json\"</span><span class=\"nt\">&gt;</span>\n<span class=\"p\">{</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">@context</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">http://schema.org/</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">@type</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">CreativeWork</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">about</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">This tutorial describes how to use the BridgeDbR package for identifier mapping.</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">audience</span><span class=\"dl\">\"</span><span class=\"p\">:[</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">http://edamontology.org/topic_3070</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">http://edamontology.org/topic_3314</span><span class=\"dl\">\"</span>\n  <span class=\"p\">],</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">genre</span><span class=\"dl\">\"</span><span class=\"p\">:[</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">http://edamontology.org/topic_0605</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">http://edamontology.org/operation_3282</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">http://edamontology.org/data_1025</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">http://edamontology.org/data_0982</span><span class=\"dl\">\"</span>\n  <span class=\"p\">],</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">name</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">BridgeDbR Tutorial</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">author</span><span class=\"dl\">\"</span><span class=\"p\">:[{</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">@type</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">Person</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">name</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">Egon Willighagen</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">identifier</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">0000-0001-7542-0286</span><span class=\"dl\">\"</span>\n  <span class=\"p\">}],</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">difficultyLevel</span><span class=\"dl\">\"</span><span class=\"p\">:</span> <span class=\"dl\">\"</span><span class=\"s2\">beginner</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">keywords</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">ELIXIR RIR, BridgeDb</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">license</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">AGPL-3</span><span class=\"dl\">\"</span><span class=\"p\">,</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">url</span><span class=\"dl\">\"</span><span class=\"p\">:[</span>\n    <span class=\"dl\">\"</span><span class=\"s2\">https://bioconductor.org/packages/devel/bioc/vignettes/BridgeDbR/inst/doc/tutorial.html</span><span class=\"dl\">\"</span>\n  <span class=\"p\">],</span>\n  <span class=\"dl\">\"</span><span class=\"s2\">version</span><span class=\"dl\">\"</span><span class=\"p\">:</span><span class=\"dl\">\"</span><span class=\"s2\">1.17.4</span><span class=\"dl\">\"</span>\n<span class=\"p\">}</span>\n<span class=\"nt\">&lt;/script&gt;</span>\n</code></pre></div></div>\n\n<p>The other half of the story is to instruct the HTML generation pipeline to add\nit, which is done with this bit of YAML in your Markdown file (part of it you\nshould already have):</p>\n\n<div class=\"language-yaml highlighter-rouge\"><div class=\"highlight\"><pre class=\"highlight\"><code><span class=\"na\">output</span><span class=\"pi\">:</span>\n  <span class=\"na\">BiocStyle::html_document</span><span class=\"pi\">:</span>\n    <span class=\"na\">toc_float</span><span class=\"pi\">:</span> <span class=\"kc\">true</span>\n    <span class=\"na\">includes</span><span class=\"pi\">:</span>\n      <span class=\"na\">in_header</span><span class=\"pi\">:</span> <span class=\"s\">bioschemas.html</span>\n</code></pre></div></div>\n\n<p>Check the full folder <a href=\"https://github.com/bridgedb/BridgeDbR/tree/master/vignettes\">here</a>.</p>",
      "summary": "Since the EU BioHackathon in Paris last year, I’ve picked up Bioschemas stuff more extensively, to help the ELIXIR Metabolomics and Toxicology (in development) communities getting their stuff more FAIR. We could annotate training material already (see this ELIXIR NL post), but big boon was annotation of vignettes on Bioconductor. Over the past 2-3 months I have been exploring this, and on Monday at the #metaRbolomics meeting in Wittenberg, with a room full or R users, I got the right pointers to a promising lead.",
      "image": "https://chem-bla-ics.linkedchemistry.info/assets/images/Screenshot_20190403_094533.png",
      "date_published": "2019-04-03T00:00:00+00:00",
      "date_modified": "2019-04-03T00:00:00+00:00",
      "tags": ["bioschemas","bridgedb","elixir","metabolomics","rstats"],
      
      
      
      
      
      
        "authors": [ { "name": "Egon Willighagen", "url": "https://orcid.org/0000-0001-7542-0286" } ]
      
    }

  ]
}
