recipe r-ukbrapr

R functions to use in the UK Biobank Research Analysis Platform (RAP)

Homepage:

https://lcpilling.github.io/ukbrapR

Developer docs:

https://github.com/lcpilling/ukbrapR

License:

GPL-3.0-only

Recipe:

/r-ukbrapr/meta.yaml

R functions to use in the UK Biobank Research Analysis Platform (RAP). The aim is to make working in the RAP quicker, easier, and more reproducible. Though some functions require a Spark cluster, the package is mostly aimed to work in a "normal" cluster using RStudio, and raw UK Biobank data from the table-exporter.

package r-ukbrapr

(downloads) docker_r-ukbrapr

Versions:
0.3.14-00.3.13-00.3.12-00.3.11-00.3.10-00.3.9-00.3.8-00.3.7-00.3.6-0

0.3.14-00.3.13-00.3.12-00.3.11-00.3.10-00.3.9-00.3.8-00.3.7-00.3.6-00.3.5-00.3.4-00.3.3-00.3.2-00.3.1-00.3.0-10.3.0-00.2.9-0

Depends:
  • on r-base >=4.5,<4.6.0a0

  • on r-cli >=3.6.1

  • on r-dplyr >=1.1.0

  • on r-haven >=2.5.0

  • on r-lifecycle >=1.0.0

  • on r-lubridate >=1.9.0

  • on r-prettyunits >=1.0.0

  • on r-purrr >=1.0.0

  • on r-readr >=2.0.0

  • on r-rlang >=1.0.0

  • on r-stringr >=1.5.0

  • on r-tidyr >=1.3.0

Additional platforms:

Installation

You need a conda-compatible package manager (currently either pixi, conda, or micromamba) and the Bioconda channel already activated (see Usage). Below, we show how to install with either pixi or conda (for micromamba and mamba, commands are essentially the same as with conda).

Pixi

With pixi installed and the Bioconda channel set up (see Usage), to install globally, run:

pixi global install r-ukbrapr

to add into an existing workspace instead, run:

pixi add r-ukbrapr

In the latter case, make sure to first add bioconda and conda-forge to the channels considered by the workspace:

pixi workspace channel add conda-forge
pixi workspace channel add bioconda

Conda

With conda installed and the Bioconda channel set up (see Usage), to install into an existing and activated environment, run:

conda install r-ukbrapr

Alternatively, to install into a new environment, run:

conda create -n envname r-ukbrapr

with envname being the name of the desired environment.

Container

Alternatively, every Bioconda package is available as a container image for usage with your preferred container runtime. For e.g. docker, run:

docker pull quay.io/biocontainers/r-ukbrapr:<tag>

(see r-ukbrapr/tags for valid values for <tag>).

Integrated deployment

Finally, note that many scientific workflow management systems directly integrate both conda and container based software deployment. Thus, workflow steps can be often directly annotated to use the package, leading to automatic deployment by the respective workflow management system, thereby improving reproducibility and transparency. Check the documentation of your workflow management system to find out about the integration.

Download stats