-
Notifications
You must be signed in to change notification settings - Fork 31
/
example2.Rmd
53 lines (38 loc) · 833 Bytes
/
example2.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: "R Notebook"
output: html_notebook
---
```{r load_packages, warning=FALSE, include=FALSE}
library(viridis)
library(readr)
library(knitr)
```
# Heading 1
This is a paragraph of text. Markdown lets us format the text in **bold**, *italics*, as `code` and [links](https://youtube.com).
* This
* is
* a
* bulleted
* list
Some more text here.
1. This
1. is
1. a
1. numbered
1. list
Final example: some maths $E = mc^{2}$
```{r figure1, include=TRUE}
image(volcano, col=viridis(200))
```
# Figure 2
Here is an alternative colour scheme.
```{r figure2, fig.cap="Figure 2 - Magma colour scheme", cache=TRUE}
image(volcano, col=viridis(200, option="A"))
```
## Heading level 2
### Heading level 3
Here is a table example.
```{r table1}
dat = read_tsv('../covid-rnaseq/filtered_nhbe_results.txt')
dat
```