Sign inSign up

trust1/r4htmlbox

By trust1

Updated almost 3 years ago

Rocker rbase with R version 4.3.1 (2023-06-16) on Ubuntu additional packages added for making HTML

Image
0

141

trust1/r4htmlbox repository overview

divprobatchreport

Rocker R 4.3 Container spinoff with code for reporting DivPro batch outcome on [GiHub] (https://github.com/RustTurakulov/divprobatchreport)

This code uses AGRF divPro pipeline output folder "secondary_analysis" and produce HTML report with alpha and beta diversity scores and some figures cellected from QC folder. The main goal is quickly visualize batch outcome for technical and biological interpretation and detect outliers and hiddent data structure.

Installed R packages

  • tidyverse
  • openxlsx
  • openxlsx
  • vegan
  • DT
  • formattable
  • kableExtra
  • leaflet
  • rshiny
  • umap

Those packages added on top of R-Base provided by The Rocker Project

Convert docker container to singularity image

Do it once before the first use.


singularity pull r4htmlbox.sif docker://trust1/r4htmlbox:v0

Usage example (with singularity container):

singularity run --bind /:/mnt \
$HOME/r4htmlbox.sif \
Rscript /mnt$HOME/divprobatchreport/divpro_2_html.R \
/data/Bioinfo/data-proj-rust/fastq4html \
/data/Bioinfo/data-proj-rust/fastq4html

This one assuming r4htmlbox.sif container in you home folder. The divprobatchreport cloned in you home folder and script with supplements is on this path: $HOME/divprobatchreport/divpro_2_html.R. The DivPro pipeline output is on this path: /data/Bioinfo/data-proj-rust/fastq4html Result will be ouputed into the same folder where the data source (last line).

Same things on the real run:

singularity run --bind /:/mnt \
$HOME/r4htmlbox.sif \
Rscript /mnt$HOME/divprobatchreport/divpro_2_html.R \
/data/Analysis/NextSeq2K/230927_VH01472_26_AACYN2WM5/contracts/NXGSQCAGRF23091021-2 \
/data/Bioinfo/data-proj-rust/fastq4html

Tag summary

Content type

Image

Digest

sha256:a9ca77f67

Size

898.6 MB

Last updated

almost 3 years ago

docker pull trust1/r4htmlbox:v0