Title: | Tools to aid the development of Bioconductor Workflow packages |
---|---|
Description: | Provides functions to ease the transition between Rmarkdown and LaTeX documents when authoring a Bioconductor Workflow. |
Authors: | Mike Smith [aut, cre], Andrzej OleÅ› [aut] |
Maintainer: | Mike Smith <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.33.0 |
Built: | 2024-10-30 04:21:49 UTC |
Source: | https://github.com/bioc/BiocWorkflowTools |
Uses create_package
to set up a skeleton for a new Bioconductor workflow package.
createBiocWorkflow( path, description = getOption("devtools.desc"), rstudio = TRUE, open = rstudio )
createBiocWorkflow( path, description = getOption("devtools.desc"), rstudio = TRUE, open = rstudio )
path |
location to create new package. The last component of the path will be used as the package name. |
description |
list of description values to override default values or add additional values. |
rstudio |
if |
open |
if |
File path to the R Markdown vignette (invisibly).
createBiocWorkflow(file.path(tempdir(), "MyWorkflow"), open = FALSE)
createBiocWorkflow(file.path(tempdir(), "MyWorkflow"), open = FALSE)
Format for creating F1000Research software tool articles.
f1000_article( toc = FALSE, number_sections = FALSE, fig_width = 5.67, fig_height = fig_width, fig_align = "center", keep_tex = TRUE, citation_package = "natbib", md_extensions = "+link_attributes", pandoc_args = "--wrap=preserve", ... )
f1000_article( toc = FALSE, number_sections = FALSE, fig_width = 5.67, fig_height = fig_width, fig_align = "center", keep_tex = TRUE, citation_package = "natbib", md_extensions = "+link_attributes", pandoc_args = "--wrap=preserve", ... )
toc |
|
number_sections |
|
fig_width |
Default width (in inches) for figures |
fig_height |
Default height (in inches) for figures |
fig_align |
Default alignment of figures. Possible values are "center" (default) "left" and "right". |
keep_tex |
Keep the intermediate tex file used in the conversion to PDF |
citation_package |
The LaTeX package to process citations, |
md_extensions |
Markdown extensions to be added or removed from the
default definition or R Markdown. See the |
pandoc_args |
Additional command line options to pass to pandoc |
... |
Arguments to |
Creates LaTeX sources which can be submitted to F1000Research through Overleaf.
R Markdown output format to pass to render
R Markdown supports automatic generation of citations. You can find more information on the markdown citation syntax in the Bibliographies and Citations article in the R Markdown online documentation.
A bibliography file can be specified using the bibliography
metadata field in the document's YAML header.
Metadata variables for customizing citation style include:
biblio-style
Bibliography style (e.g. "unsrtnat", "plainnat")
natbiboptions
Options to natbib
LaTeX package (e.g. "number", "super", "round")
biblatexoptions
Options to biblatex
LaTeX package
## Not run: rmarkdown::draft("MyArticle.Rmd", template="f1000_article", package="BiocWorkflowTools") ## End(Not run)
## Not run: rmarkdown::draft("MyArticle.Rmd", template="f1000_article", package="BiocWorkflowTools") ## End(Not run)
Upload a LaTeX project to Overleaf
uploadToOverleaf(path)
uploadToOverleaf(path)
path |
File path to a directory or a single zip file to be uploaded. |
Does not return any value. The Overleaf project page will automatically open in the default browser.
## Not run: ## don't run this code chunk in the example as we don't want to spam Overleaf uploadToOverleaf(files = 'MyWorkflow', openInBrowser = TRUE) ## End(Not run)
## Not run: ## don't run this code chunk in the example as we don't want to spam Overleaf uploadToOverleaf(files = 'MyWorkflow', openInBrowser = TRUE) ## End(Not run)