| is_draft2 | R Documentation | 
Is this CWL draft2?
is_draft2(x)
x | 
 CWL object  | 
Logical. TRUE if it is a CWL draft2 object, FALSE if not.
system.file("cwl/sbg/workflow/gatk4-wgs.json", package = "tidycwl") %>%
  read_cwl(format = "json") %>%
  is_draft2()
system.file("cwl/sbg/workflow/rnaseq-salmon.json", package = "tidycwl") %>%
  read_cwl(format = "json") %>%
  is_draft2()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.