This is the hands-on material for Reproducible Research. These are series of excercises to help you get started with reproducible research using R. You can consult the RMarkdown cheatsheet for quick reference.

  • Familiarise yourself with Markdown/RMarkdown syntax and commonly used snippets.
  • Set up a project in R
  • Prepare an RMarkdown document
  • Add content and export to some common formats


1 RStudio

Create a new project in RStudio by going to File > New Project > New Directory. Select New Project if required. Then label the project name and the directory. An empty project is created. The R session has been refreshed. All variables are removed and the environment is cleared.

Create a new RMarkdown file by going to File > New File > RMarkdown.... Use the default options.

2 R environment

2.1 Conda

The environment within R is going to be managed by renv, while lower level, such as versions of R, can be managed by Conda management system. You can skip Conda at the moment, if you want, install renv package using install.packages("renv") on R, and continue to renv section below, instead. Regarding Conda, please refer to the link for questions about the installation. If your project includes programs written in other programming languages, e.g. Python, the overall environment can be managed by Conda. NBIS has a dedicated workshop titled Tools for reproducible research which covers more on Conda and other programs for reproducible research.

For R, we can start with a simple environment file by creating a file named environment.yml having following text. It describes which versions of R, renv and tidyverse are to be installed. The file should be created on the folder of your project, as fancy_project/environment.yml.

channels:
  - conda-forge
dependencies:
  - conda-forge::r=4.0
  - conda-forge::r-renv=0.12.1
  - conda-forge::r-tidyverse=1.3.0

Using Terminal (Mac/Linux) or Command line (Windows), run following commands to create an environment and activate it.

conda env create -n fancy_env -f environment.yml
conda activate fancy_env

2.2 renv

The environment within R, e.g. installed packages, is managed by renv. A good reference about the package is available at “introduction to renv.

2.2.1 Store R environment

The first step is the initialization of a local environment using the command in R below.

renv::init()

As an alternative, you could choose to initialize renv when an R project is created as shown below. After the command, you may find renv folder and renv.lock file created. Check the file renv.lock using a text viewer or less command on Mac/Linux.

Whenever a package should be installed, please use renv::install instead of install.packages as below.

renv::install("dplyr")  # from CRAN
renv::install("bioc::Biobase")  # from Bioconductor
renv::install("StoreyLab/qvalue")   # from GitHub
# from GitLab/Bitbucket
# renv::install("[gitlab|bitbucket]::`*user name*`/`*repository*`")

The current status of R environment of your project can be stored by calling renv::snapshot(). Please note that the function checks all R scripts under your R project folder. It updates renv.lock for the packages loaded in the scripts only. Check renv.lock file again after calling the renv::snapshot(). If no R script was created under the project folder yet, surprisingly no change in renv.lock will be found.

Now, create a simple R script that loads one of the packages you installed, for example, a file named test.R that has just one line shown below.

library(dplyr)

Call renv::snapshot() and check the renv.lock file. You will see it becomes so long, now.

The renv::snapshot() command doesn’t have to be called every time a package is installed. Just make sure it should be called when an environment is to be stored, e.g. before sharing the codes and the environment with colleagues.

2.2.2 Restore the environment

The environment can be restored on a new place by the commands below.

renv::init()
renv::restore()

We can test it by creating a new R project. Copy your scripts but also renv.lock to the folder of the new R project, run the commands above on R and find what the R installs. Please note that no contents under renv folder is needed to restore the R environment.

3 RMarkdown

3.1 YAML

The content on the top of the RMarkdown document in three dashes is the YAML matter. The YAML matter for this page looks something like below:

---
title: "Reproducible research"
subtitle: "RaukR 2022 • Advanced R for Bioinformatics"
author: "<b>Roy Francis and Mun-Gwan Hong</b>"
output:
  bookdown::html_document2:
    toc: true
    toc_float: true
    toc_depth: 3
    number_sections: true
    theme: united
    highlight: textmate
    df_print: paged
    code_folding: none
    self_contained: false
    keep_md: false
    encoding: "UTF-8"
    css: ["assets/lab.css"]
---

The title, subtitle, author and date is displayed at the top of the rendered document. Argument output is used to specify output document type and related arguments. rmarkdown::html_document is commonly used to specify the standard HTML output. rmarkdown::pdf_document is used to specify the standard PDF output. This then takes further arguments. Sub arguments differ depending on the output document type.

Above are some of the arguments that can be supplied to the HTML document type. theme is used to specify the document style such as the font and layout. highlight is used to specify the code highlighting style. toc specifies that a table of contents must be included. toc_float specifies that the TOC must float on the left of the page while scrolling. toc_depth species the maximum level/depth to be displayed in the TOC. number_sections specifies if the headings/sections must be automatically numbered. Use ?rmarkdown::html_document for description of all the various options.

3.2 Text

The above level 2 heading was created by specifying ## Text. Other headings can be specified similarily.

## Level 2 heading  
### Level 3 heading  
#### Level 4 heading  
##### Level 5 heading  
###### Level 6 heading

Italic text like this This is italic text can be specified using *This is italic text* or _This is italic text_. Bold text like this This is bold text can be specified using **This is italic text** or __This is italic text__. Subscript written like this H~2~O renders as H2O. Superscript written like this 2^10^ renders as 210.

Bullet points are usually specified using * or + or -.

+ Point one
+ Point two
  • Point one
  • Point two

Block quotes can be specified using >.

> This is a block quote. This
> paragraph has two lines.

This is a block quote. This paragraph has two lines.

Lists can also be created inside block quotes.

> 1. This is a list inside a block quote.
> 2. Second item.
  1. This is a list inside a block quote.
  2. Second item.

Links can be created using [this](https://rmarkdown.rstudio.com/) like this.

3.3 Images

Images can be displayed from a relative local location using ![This is a caption](rr_lab_assets/gotland.jpg). For example:

This is a caption

By default, the image is displayed at full scale or until it fills the display width. The image dimension can be adjusted ![This is a caption](rr_lab_assets/gotland.jpg){width=40%}.

This is a caption

For finer control, raw HTML can be used. For example;

<img src="rr_lab_assets/gotland.jpg" width="150px">

Images can also be displayed using R code. Chunks option out.width in RMarkdown can be used to control image display size.

This image is displayed at a size of 200 pixels.

```{r,out.width=200}
knitr::include_graphics('rr_lab_assets/gotland.jpg')
``` 

This image is displayed at a size of 75 pixels.

```{r,out.width=75}
knitr::include_graphics('rr_lab_assets/gotland.jpg')
``` 

3.4 Code

Text can be formatted as code. Code is displayed using monospaced font. Code formatting that stands by itself as a paragraph is called block code. Block codes are specified using three backticks ``` followed by code and then three more backticks.

This text below

```
This is generic block code.
```

renders like this

This is generic block code.

Code formatting can also be included in the middle of a sentence. This is called inline code formatting. Using this `This is an inline formatted code.` renders like this: This is an inline formatted code.

The above codes are not actually executed. They are just text formatted in a different font. Code can be executed by specifying the language along with the backticks. Block code formatted as such:

```{r}
str(iris)
```

renders like this:

str(iris)
## 'data.frame':    150 obs. of  5 variables:
##  $ Sepal.Length: num  5.1 4.9 4.7 4.6 5 5.4 4.6 5 4.4 4.9 ...
##  $ Sepal.Width : num  3.5 3 3.2 3.1 3.6 3.9 3.4 3.4 2.9 3.1 ...
##  $ Petal.Length: num  1.4 1.4 1.3 1.5 1.4 1.7 1.4 1.5 1.4 1.5 ...
##  $ Petal.Width : num  0.2 0.2 0.2 0.2 0.2 0.4 0.3 0.2 0.2 0.1 ...
##  $ Species     : Factor w/ 3 levels "setosa","versicolor",..: 1 1 1 1 1 1 1 1 1 1 ...

Code blocks are called chunks. The chunk is executed when this document is rendered. In the above example, the rendered output has two chunks; input and output chunks. The rendered code output is also given code highlighting based on the language. For example;

This code chunk

```{r,eval=FALSE}
ggplot(dfr4,aes(x=Month,y=fraction,colour=Year,group=Year))+
  geom_point(size=2)+
  geom_line()+
  labs(x="Month",y="Fraction of support issues")+
  scale_colour_manual(values=c("#000000","#E69F00","#56B4E9",
  "#009E73","#F0E442","#006699","#D55E00","#CC79A7"))+
  theme_bw(base_size=12,base_family="Gidole")+
  theme(panel.border=element_blank(),
        panel.grid.minor=element_blank(),
        panel.grid.major.x=element_blank(),
        axis.ticks=element_blank())
```

when rendered (echo=TRUE by default, but not evaluated) looks like

ggplot(dfr4,aes(x=Month,y=fraction,colour=Year,group=Year))+
  geom_point(size=2)+
  geom_line()+
  labs(x="Month",y="Fraction of support issues")+
  scale_colour_manual(values=c("#000000","#E69F00","#56B4E9",
  "#009E73","#F0E442","#006699","#D55E00","#CC79A7"))+
  theme_bw(base_size=12,base_family="Gidole")+
  theme(panel.border=element_blank(),
        panel.grid.minor=element_blank(),
        panel.grid.major.x=element_blank(),
        axis.ticks=element_blank())

The chunk has several options which can be used to control chunk properties.

Using `{r,eval=FALSE}` prevents that chunk from being executed. `{r,eval=TRUE}` which is the default, executes the chunk. Using `{r,echo=FALSE}` prevents the code from that chunk from being displayed. Using `{r,results="hide"}` hides the output from that chunk. There are many other chunk arguments. Here are some of them:

Option Default Description
eval TRUE Evaluates the code in this chunk
echo TRUE Display the code
results “markup” “markup”,“asis”,“hold” or “hide”
warning TRUE Display warnings from code execution
error FALSE Display error from code execution
message TRUE Display messages from this chunk
tidy FALSE Reformat code in to be tidy
cache FALSE Cache results for future renders
comment “##” Character to prefix result output

Chunk options are specified like this:

```{r,eval=FALSE,echo=FALSE,fig.height=6,fig.width=7}
```

3.5 Plots

R Plots can be plotted like below:

```{r,fig.height=6,fig.width=6}
plot(x=iris$Petal.Length,y=iris$Petal.Width)
```

Below are some of chunk options relating to plots.

Option Default Description
fig.height 7 Figure height in inches
fig.width 7 Figure width in inches
fig.cap “” Figure caption
fig.align “center” Figure alignment
dev “png” Change png, jpg, pdf, svg etc

3.6 Export

The RMarkdown notebook can be exported into various format. The most common formats are HTML and PDF.

3.6.1 HTML

The RMarkdown document can be previewed as an HTML inside RStudio by clicking the ‘Knit’ button.

The document can also be exported as an HTML file by running the code below:

rmarkdown::render("document.Rmd")

HTML documents can be opened and viewed in any standard browser such as Chrome, Safari, Firefox etc.

3.6.2 PDF

An Rmd document can be converted to a PDF. Behind the scenes, the markdown is converted to TeX format. The conversion to PDF needs a tool that understands TeX format and converts to PDF. This can be softwares like ‘MacTeX’, ‘MikTeX’ etc. which needs to be installed on the system beforehand.

The output argument in the YAML matter must be changed to pdf_document, and the Rmd file can be converted as follows:

rmarkdown::render("document.Rmd")

The PDF output can also be specified as such:

rmarkdown::render("document.Rmd",output_format=pdf_document())

Sometimes TeX converters may need additional libraries which may need to be installed. And all features of HTML are not supported on TeX which may return errors.

See here for other export formats.

4 Report

This is a do-it-yourself challenge to RMarkdown Notebook/Report. Have a look at the HTML page below and try to recreate the page. Instructions and helpful tips are given below. Use the R Markdown: The Definitive Guide to find the solutions.

This is the challenge report to prepare.

  1. Create a new RMarkdown document
  2. Set YAML matter
  • Set title, subtitle, Author name.
  • Set date to be automatically computed in this format “DD/MM/YYYY”. See here on how to format dates.

date: "`r format(Sys.Date(),format='%d/%m/%Y')`"
  • Show a floating table of contents on the top left of the page.

output:
  rmarkdown::html_document:
    toc: true
    toc_float: true
  • Set automatic numbering of sections. Check ?html_document.

output:
  rmarkdown::html_document:
    number_sections: true
  • Set theme to ‘flatly’.

output:
  rmarkdown::html_document:
    theme: united
  • Set code highlighting to ‘kate’.

output:
  rmarkdown::html_document:
    highlight: kate
  • Hide code blocks using show/hide code buttons. Check out code_folding option.

output:
  rmarkdown::html_document:
    code_folding: hide
  • Set the default data.frame printing option to pageable HTML table. Check out df_print option.

output:
  html_document:
    df_print: paged
  1. Add a Level 1 heading
  2. Add some text and a Level 2 heading
  3. Create an R chunk to display the structure of cars dataset. Display the code and the results. See here to read more about chunk options.
  4. Display the first six rows and all columns of the cars dataset as a table.
  5. Create a new sub-section and create a scatterplot with the two variables from cars dataset. Hide the code used and only show the plot. Create a square aspect ratio plot by setting equal figure height and width in the chunk options. Add a caption for the plot using chunk options.
  6. Create a new sub-section, download a random image and include it in the document.
  7. Render the document in RStudio by clicking on the ‘Knit’ button.
  8. Render the document to an HTML file using a console command.
  9. You can try to render this document to a PDF. Note that you will need to install additional software for this. For a lightweight latex distribution for knitr, see here. Change output type from html_document to pdf_document and remove all arguments except toc: true. Try rendering using ‘Knit’.

5 Pres • ioslides

ioslides is an HTML and javascript based presentation system. RMarkdown provides a way to use this framework through R purely using R code. Here is an example of an ioslide presentation.

This is a do-it-yourself challenge to ioslides Presentation using RMarkdown. Have a look at the presentation below and try to recreate it. Instructions and helpful tips are given below.

This is the final result for challenge ioslide presentation.

  1. Create a new RMarkdown document.
  2. Set YAML matter output to output: ioslides_presentation. See here for a guide to using ioslides presentation in R. See ?ioslides_presentation() for the options.
  3. Set theme and highlight as needed.
  4. New slides are defined using # with level 1 heading or ---- without a heading. Subtitle can be specified using a pipe symbol, like this # Title | Subtitle. Slides starting with # contains only the title and/or subtitle. ## adds a standard content slide with a heading on the top.
  5. Add a title slide
# Title Slide | Subtitle
  1. Add a standard slide with a heading and a bulleted list. For example
## Level 2 Heading

- Point one
- Point two

The bullets can set to show incrementally on click:

## Level 2 Heading

> - Point one
> - Point two
  1. Create a new slide and add some R chunk. For example:
```{r}
data(iris)
str(cars)
```
  1. Create a new slide and display a table by executing an R chunk. For example:
```{r}
head(cars)
```
  1. Create a new slide and display an R plot. For example:
```{r,fig.height=3,fig.width=5,fig.cap="This is a scatterplot."}
plot(cars$speed,cars$dist)
```
  1. Add an image to a new slide. For example:
![](rr_lab_assets/gotland.jpg){width=60%}
  1. When viewing the presentation, press O to see an overview of the slides.

6 Pres • revealjs

revealJS is an HTML and javascript based presentation system. The revealjs R package provides a way to use this framework through R purely using R code. Here is an example of an revealJS presentation.

This is a do-it-yourself challenge to RevealJS 2-D Presentation using RMarkdown. Have a look at the presentation below and try to recreate it. Instructions and helpful tips are given below.

This is the challenge RevealJS presentation.

  1. Install R package revealjs and load the library.
  2. Create a new RMarkdown document.
  3. Set YAML matter output to output: revealjs_presentation. See here for a guide to using RevealJS presentation in R. See ?revealjs_presentation for options.
  4. Set theme and highlight as needed.
  5. New slides are defined using # with level 1 heading,## with level 2 heading or ---- without a heading. The best feature of RevealJS is that slides are not restricted to horizontal (linear) flow. Slides can also flow vertical from any of the horizontal slides. A level 2 heading ## signifies that the content under that flows vertically.
  6. Add a level 1 heading and add some text content.
  7. Create a new slide vertically by adding a level 2 heading and add some R chunk. For example:
## Level 2 Heading

```{r}
data(iris)
str(cars)
```
  1. Create a new slide vertically using level 2 heading and display a table by executing an R chunk. For example:
## Level 2 Heading

```{r}
head(cars)
```
  1. Create a new slide vertically and display an R plot. For example:
## Level 2 Heading

```{r,fig.height=3,fig.width=5,fig.cap="This is a scatterplot."}
plot(cars$speed,cars$dist)
```
  1. Create a new slide horizontally. Add an image to a new slide. For example:
![](rr_lab_assets/gotland.jpg)
  1. When viewing the presentation, press O to see an overview of the slides.

7 Pres • xaringan

xaringan is an R package that provides bindings to remarkjs HTML and javascript based presentation system. Here is an example of a remarkjs presentation. Here is an example that actually uses the xaringan package in R.

The remarkjs repo and wiki pages and the xaringan repo and wiki are good sources of documentation.

This is a do-it-yourself challenge to remarkjs presentation system using RMarkdown in xaringan. Have a look at the presentation below and try to recreate it. Instructions and helpful tips are given below.

This is the challenge Xaringan presentation.

  1. Install R package xaringan and load the library.
  2. Create a new RMarkdown document.
  3. Set YAML matter output to output: xaringan::moon_reader. Use ?moon_reader() for options.
  4. Set theme and highlight as needed.
  5. New slides are defined using ---. Headings as usual are # for level 1 heading,## with level 2 heading etc.
  6. Add a level 1 heading and add some bullet points.
# Bullet points

- Point One
- Point Two
  1. Note that Xaringan/remarkjs does not use the regular pandoc markdown, therefore some features may not work or may be different. For example superscript is created using 2<sup>10</sup> rather than 2^10^. Subscript is created using 2<sub>10</sub> rather than 2~10~.

  2. Add some code content. For example;

```{r}
data(iris)
str(cars)
```
  1. Slides can be named which helps to create links back to this slide. Create a new slide and add a name like this name: name. Add a heading and add an R plot on this slide.
---
name: plots

# Plots

```{r,fig.height=3,fig.width=5,fig.cap="This is a scatterplot."}
plot(cars$speed,cars$dist)
```

Note that the slide name is added immediately under the new slide creator ---.

  1. Create a new slide with a table and name the slide table.
---
name: table

# Table

```{r}
head(cars)
```

From this slide, create a link to go back to plots.

Click [here](#plots) to go to plots.
  1. Create a new slide and add an image.
---
name: image

# Image

![](rr_lab_assets/gotland.jpg)

If this is too big, you can manually set the width using raw HTML <img src="rr_lab_assets/gotland.jpg" width="250px">

  1. It is possible to highlight parts of code. For example, in this code,
```{r}
ggplot(iris,aes(x=Petal.Length,Sepal.Width,col=Species))+
  geom_point(size=2)+
  labs(x="Petal Length",y="Sepal Width")+
  scale_colour_manual(values=c("#000000","#E69F00","#56B4E9",
  "#009E73","#F0E442","#006699","#D55E00","#CC79A7"))+
  theme_bw(base_size=12)+
  theme(panel.border=element_blank(),
        panel.grid.minor=element_blank(),
        panel.grid.major.x=element_blank(),
        axis.ticks=element_blank())
```

say, we want to highlight theme_bw(base_size=12). We can add {{}} around it. Add the below code to a new slide called highlighting.

```{r}
ggplot(iris,aes(x=Petal.Length,Sepal.Width,col=Species))+
  geom_point(size=2)+
  labs(x="Petal Length",y="Sepal Width")+
  scale_colour_manual(values=c("#000000","#E69F00","#56B4E9",
  "#009E73","#F0E442","#006699","#D55E00","#CC79A7"))+
  {{theme_bw(base_size=12)}}+
  theme(panel.border=element_blank(),
        panel.grid.minor=element_blank(),
        panel.grid.major.x=element_blank(),
        axis.ticks=element_blank())
```
  1. Try out some math expressions. Paste a few of the line below to your slide.
$e^{i\pi} + 1 = 0$
$$\frac{E \times X^2 \prod I}{2+7} = 432$$
$$\sum_{i=1}^n X_i$$
$$\int_0^{2\pi} \sin x~dx$$

Add a -- between each line to display them incrementally.

$e^{i\pi} + 1 = 0$

--

$$\frac{E \times X^2 \prod I}{2+7} = 432$$

--

$$\sum_{i=1}^n X_i$$

--

$$\int_0^{2\pi} \sin x~dx$$
  1. When viewing the presentation, press H to see an overview of keyboard shortcuts during presentation.

  2. remarkjs has a nifty feature where you can press C to clone the presentation in a new browser window. Now both these copies are linked. You can change one of them to the presenter mode by pressing P. Now changing the slide in one window changes the other. Convenient when a presenter view/audience view is needed.

8 Session info

## R version 4.1.0 (2021-05-18)
## Platform: x86_64-conda-linux-gnu (64-bit)
## Running under: Ubuntu 20.04.4 LTS
## 
## Matrix products: default
## BLAS/LAPACK: /home/roy/miniconda3/envs/r-4.1/lib/libopenblasp-r0.3.15.so
## 
## locale:
##  [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C              
##  [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8    
##  [5] LC_MONETARY=en_GB.UTF-8    LC_MESSAGES=en_GB.UTF-8   
##  [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C                 
##  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
## [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C       
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods  
## [7] base     
## 
## other attached packages:
##  [1] stringr_1.4.0       fontawesome_0.2.2   captioner_2.2.3    
##  [4] bookdown_0.25       revealjs_0.9        markdown_1.1       
##  [7] ggplot2_3.3.5       highcharter_0.9.4   tidyr_1.2.0        
## [10] dplyr_1.0.8         readxl_1.4.0        randomcoloR_1.1.0.1
## [13] knitr_1.38          rmarkdown_2.13      lubridate_1.8.0    
## 
## loaded via a namespace (and not attached):
##   [1] SparseM_1.81                scattermore_0.8            
##   [3] SpatialExperiment_1.2.1     R.methodsS3_1.8.1          
##   [5] SeuratObject_4.0.4          ggpmisc_0.4.5              
##   [7] bit64_4.0.5                 irlba_2.3.5                
##   [9] DelayedArray_0.20.0         R.utils_2.11.0             
##  [11] data.table_1.14.2           rpart_4.1.16               
##  [13] KEGGREST_1.32.0             RCurl_1.98-1.6             
##  [15] generics_0.1.2              BiocGenerics_0.40.0        
##  [17] callr_3.7.0                 cowplot_1.1.1              
##  [19] usethis_2.1.5               RSQLite_2.2.12             
##  [21] shadowtext_0.1.1            RANN_2.6.1                 
##  [23] commonmark_1.8.0            future_1.24.0              
##  [25] bit_4.0.4                   rlist_0.4.6.2              
##  [27] spatstat.data_2.1-4         xml2_1.3.3                 
##  [29] httpuv_1.6.5                ggpp_0.4.3                 
##  [31] SummarizedExperiment_1.25.2 assertthat_0.2.1           
##  [33] xfun_0.30                   jquerylib_0.1.4            
##  [35] evaluate_0.15               promises_1.2.0.1           
##  [37] fansi_1.0.3                 igraph_1.3.0               
##  [39] DBI_1.1.2                   geneplotter_1.70.0         
##  [41] quantmod_0.4.18             htmlwidgets_1.5.4          
##  [43] spatstat.geom_2.4-0         stats4_4.1.0               
##  [45] purrr_0.3.4                 ellipsis_0.3.2             
##  [47] backports_1.4.1             V8_4.1.0                   
##  [49] annotate_1.70.0             nuclon_0.0.1               
##  [51] deldir_1.0-6                sparseMatrixStats_1.4.2    
##  [53] MatrixGenerics_1.6.0        vctrs_0.4.0                
##  [55] SingleCellExperiment_1.16.0 Biobase_2.54.0             
##  [57] remotes_2.4.2               quantreg_5.88              
##  [59] TTR_0.24.3                  ROCR_1.0-11                
##  [61] prettydoc_0.4.1             abind_1.4-5                
##  [63] cachem_1.0.6                withr_2.5.0                
##  [65] triebeard_0.3.0             checkmate_2.0.0            
##  [67] sctransform_0.3.3           xts_0.12.1                 
##  [69] prettyunits_1.1.1           goftest_1.2-3              
##  [71] cluster_2.1.3               dir.expiry_1.0.0           
##  [73] lazyeval_0.2.2              crayon_1.5.1               
##  [75] basilisk.utils_1.4.0        pixture_0.0.2.2000         
##  [77] genefilter_1.74.1           labeling_0.4.2             
##  [79] edgeR_3.34.1                pkgconfig_2.0.3            
##  [81] GenomeInfoDb_1.30.1         nlme_3.1-157               
##  [83] pkgload_1.2.4               devtools_2.4.3             
##  [85] rlang_1.0.2                 globals_0.14.0             
##  [87] lifecycle_1.0.1             miniUI_0.1.1.1             
##  [89] MatrixModels_0.5-0          filelock_1.0.2             
##  [91] dbscan_1.1-10               rprojroot_2.0.3            
##  [93] cellranger_1.1.0            polyclip_1.10-0            
##  [95] matrixStats_0.61.0          emayili_0.7.5              
##  [97] lmtest_0.9-40               Matrix_1.4-1               
##  [99] urltools_1.7.3              Rhdf5lib_1.14.2            
## [101] zoo_1.8-9                   base64enc_0.1-3            
## [103] ggridges_0.5.3              processx_3.5.3             
## [105] png_0.1-7                   viridisLite_0.4.0          
## [107] rjson_0.2.21                bitops_1.0-7               
## [109] R.oo_1.24.0                 KernSmooth_2.23-20         
## [111] rhdf5filters_1.4.0          Biostrings_2.60.2          
## [113] blob_1.2.2                  DelayedMatrixStats_1.14.3  
## [115] parallelly_1.30.0           spatstat.random_2.2-0      
## [117] jpeg_0.1-9                  S4Vectors_0.32.3           
## [119] beachmat_2.8.1              scales_1.1.1               
## [121] memoise_2.0.1               magrittr_2.0.3             
## [123] plyr_1.8.7                  ica_1.0-2                  
## [125] zlibbioc_1.40.0             compiler_4.1.0             
## [127] dqrng_0.3.0                 RColorBrewer_1.1-3         
## [129] DESeq2_1.32.0               fitdistrplus_1.1-8         
## [131] cli_3.2.0                   XVector_0.34.0             
## [133] listenv_0.8.0               patchwork_1.1.1            
## [135] pbapply_1.5-0               ps_1.6.0                   
## [137] MASS_7.3-56                 mgcv_1.8-40                
## [139] tidyselect_1.1.2            stringi_1.7.6              
## [141] highr_0.9                   yaml_2.3.5                 
## [143] locfit_1.5-9.5              ggrepel_0.9.1              
## [145] grid_4.1.0                  sass_0.4.1                 
## [147] tools_4.1.0                 future.apply_1.8.1         
## [149] parallel_4.1.0              rstudioapi_0.13            
## [151] gridExtra_2.3               farver_2.1.0               
## [153] Rtsne_0.15                  DropletUtils_1.12.3        
## [155] spatialDE_1.0.0             digest_0.6.29              
## [157] shiny_1.7.1                 Rcpp_1.0.8.3               
## [159] GenomicRanges_1.46.1        broom_0.7.12               
## [161] scuttle_1.2.1               later_1.3.0                
## [163] writexl_1.4.0               RcppAnnoy_0.0.19           
## [165] httr_1.4.2                  AnnotationDbi_1.54.1       
## [167] colorspace_2.0-3            brio_1.1.3                 
## [169] rvest_1.0.2                 XML_3.99-0.9               
## [171] fs_1.5.2                    tensor_1.5                 
## [173] reticulate_1.24             IRanges_2.28.0             
## [175] splines_4.1.0               uwot_0.1.11                
## [177] spatstat.utils_2.3-0        basilisk_1.4.0             
## [179] sessioninfo_1.2.2           plotly_4.10.0              
## [181] xtable_1.8-4                jsonlite_1.8.0             
## [183] testthat_3.1.3              R6_2.5.1                   
## [185] pillar_1.7.0                htmltools_0.5.2            
## [187] mime_0.12                   glue_1.6.2                 
## [189] fastmap_1.1.0               BiocParallel_1.26.2        
## [191] codetools_0.2-18            pkgbuild_1.3.1             
## [193] utf8_1.2.2                  bslib_0.3.1                
## [195] lattice_0.20-45             spatstat.sparse_2.1-0      
## [197] tibble_3.1.6                logger_0.2.2               
## [199] curl_4.3.2                  leiden_0.3.9               
## [201] magick_2.7.3                survival_3.3-1             
## [203] limma_3.50.1                desc_1.4.1                 
## [205] munsell_0.5.0               rhdf5_2.36.0               
## [207] GenomeInfoDbData_1.2.7      HDF5Array_1.20.0           
## [209] reshape2_1.4.4              gtable_0.3.0               
## [211] spatstat.core_2.4-2         Seurat_4.1.0

Built on: 15-Apr-2022 at 10:44:58.


2022SciLifeLabNBISRaukR website twitter