compose_scm_v1.4.2 | R Documentation |
Compose BioCompute Object - SCM Extension (v1.4.2)
compose_scm_v1.4.2( scm_repository = NULL, scm_type = c("git", "svn", "hg", "other"), scm_commit = NULL, scm_path = NULL, scm_preview = NULL ) compose_scm( scm_repository = NULL, scm_type = c("git", "svn", "hg", "other"), scm_commit = NULL, scm_path = NULL, scm_preview = NULL )
scm_repository |
Character string. Base URL of the SCM repository. |
scm_type |
Character string. Type of SCM database. Must be one of
|
scm_commit |
Character string. Revision within the SCM repository. Should be a repository-wide commit identifier or name of a tag, but may be a name of a branch. |
scm_path |
Character string. Path from the repository to the
source code referenced. Should not start with |
scm_preview |
Character string. The full URI for the source code referenced by the BioCompute Object. |
A list of class bco.domain
scm_repository <- "https://github.com/example/repo" scm_type <- "git" scm_commit <- "c9ffea0b60fa3bcf8e138af7c99ca141a6b8fb21" scm_path <- "workflow/hive-viral-mutation-detection.cwl" scm_preview <- "https://github.com/example/repo/blob/master/mutation-detection.cwl" compose_scm(scm_repository, scm_type, scm_commit, scm_path, scm_preview) %>% convert_json()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.