Skip to content

Commit

Permalink
Created some rmarkdown examples
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmdphd committed Aug 2, 2017
1 parent 85052e1 commit 7bf12f9
Show file tree
Hide file tree
Showing 23 changed files with 386 additions and 0 deletions.
84 changes: 84 additions & 0 deletions 2017-subintern.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
---
title: "How to use R markdown"
author: "AMC Subintern"
date: "2017-08-02"
bibliography: "references/myref.bib"
output:
html_document:
toc: yes
---

# Introduction

이것은 R λ§ˆν¬λ‹€μš΄μž…λ‹ˆλ‹€.

```{r}
# install.packages('tidyverse')
library(tidyverse)
```

# Materials and Methods

Theoph의 μ•žλΆ€λΆ„μž…λ‹ˆλ‹€.

```{r}
head(Theoph)
```

Theoph의 λ’·λΆ€λΆ„μž…λ‹ˆλ‹€.

```{r}
tail(Theoph)
```

# Results

그림을 κ·Έλ €λ³ΌκΉŒμš”

```{r}
plotTheoph <- Theoph %>%
ggplot(aes(x = Time, y = conc, group = Subject, color = Subject)) +
geom_point() +
geom_line()
plotTheoph
```

Let's draw individually.

```{r}
plotTheoph +
facet_wrap( ~ Subject, ncol = 4)
```

Theoph is used for treating asthma and the other allergic diseases. [@subintern1]

Omalizumab is also used for treating asthma [@maltby2017omalizumab]

# Discussion

Writing medical papers can be done by Rmarkdown as well as using [Endnote](https://endnote.com/), Mendeley <https://www.mendeley.com/>, refworks, and zotero.

| 이름 | 메뉴 | 가격 |
| :-- | :-- | --: |
| μ‘°ν•˜ν˜œ | μΉ΄νŽ˜λΌλ–Ό | 3500원 |
| ν•œμ„±ν•„ | 녹차라떼 | 4000원 |
| λ°°κ· μ„­ | 케이크 | 14000원 |

So now we learned several things.

- R
- R packages - tidyverse, ggplot2
- Drawing figures by R
- Rmarkdown

Next time we will learn these

1. How to use basic NCA R package
1. How to use Phoenix WinNonLin software
1. How to become successful clinical investigator

[Online Figure](https://www.radiokorea.com/images/news/2017/02/17/251890/1.gif)

![Online Figure](https://www.radiokorea.com/images/news/2017/02/17/251890/1.gif)

# Reference
281 changes: 281 additions & 0 deletions 2017-subintern.html

Large diffs are not rendered by default.

Binary file modified assets/pk/SUBJID1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID15.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID17.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID19.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID21.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/pk/SUBJID9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions references/myref.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@article{subintern1,
title={New and developing non-adrenoreceptor small molecule drugs for the treatment of asthma},
author={Thomson, Neil C},
journal={Expert opinion on pharmacotherapy},
volume={18},
number={3},
pages={283--293},
year={2017},
publisher={Taylor \& Francis}
}

@article{maltby2017omalizumab,
title={Omalizumab treatment response in a population with severe allergic asthma and overlapping COPD},
author={Maltby, Steven and Gibson, Peter G and Powell, Heather and McDonald, Vanessa M},
journal={Chest},
volume={151},
number={1},
pages={78--89},
year={2017},
publisher={Elsevier}
}

0 comments on commit 7bf12f9

Please sign in to comment.