Skip to content

Commit

Permalink
update: v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shanmdphd committed Sep 17, 2021
1 parent 725d173 commit 1a4fcec
Show file tree
Hide file tree
Showing 25 changed files with 369 additions and 162 deletions.
9 changes: 5 additions & 4 deletions 03.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -631,14 +631,15 @@ knitr::include_graphics("media-03/figure-2.png")
위 과정으로 얻어진 계산값은 가장 정확하게 생물학적 동등성을 평가하고 있어 표준으로 사용되는 SAS 소프트웨어 결과값과 완전히 동일하였다. \index{생물학적 동등성}

```{r, echo=FALSE}
tribble(~"PK parameter", ~"Analysis", ~"Lower Limit", ~"Point Estimate", ~"Upper Limit",
"AUC~inf~", "R BE 패키지", "0.88944", "0.95408", "1.02341",
tribble(~"Parameter", ~"Analysis", ~"LL", ~"PE", ~"UL",
"AUC\\textsubscript{inf}", "R BE 패키지", "0.88944", "0.95408", "1.02341",
"", "SAS: PROC GLM", "0.88944", "0.95408", "1.02341",
"", "SAS: PROC MIXED", "0.88944", "0.95408", "1.02341",
"C~max~", "R BE 패키지", "0.90136", "0.97984", "1.06515",
"C\\textsubscript{max}", "R BE 패키지", "0.90136", "0.97984", "1.06515",
"", "SAS: PROC GLM", "0.90136", "0.97984", "1.06515",
"", "SAS: PROC MIXED", "0.90136", "0.97984", "1.06515") %>%
kable(caption = "R BE 패키지와 SAS의 PROC GLM, PROC MIXED 계산 결과값의 비교", booktabs=TRUE, escape=FALSE)
kable(caption = "R BE 패키지와 SAS의 PROC GLM, PROC MIXED 계산 결과값의 비교", booktabs=TRUE, escape=FALSE,
linesep = "")
```

## 웹브라우저를 통한 NCA 및 생물학적동등성 판정
Expand Down
13 changes: 11 additions & 2 deletions 05.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

\Large\hfill
한성필^[약동학 데이터를 분석하여 PK 파라미터를 찾는 업무를 하지 않는 독자들은 이 장을 읽지 않고 넘어가도 좋습니다.]

\normalsize

```{r include=FALSE}
Expand Down Expand Up @@ -161,10 +162,12 @@ r1 = nlr(fPK02a, dPK02, pNames=c("ka", "V", "k"), IE=c(0.1, 30, 0.05))
r1$Est
```

### Compartmental analysis with Tlag
### Compartmental analysis with T~lag~

경구 투여 1구획분석, 지연 시간이 있는 모델이다. k~a~, V, k에 T~lag~가 추가되어 농도를 나타낼 수 있다.\index{지연 시간}

\small

```{r}
fPK02b = function(THETA) # Prediction function
{
Expand All @@ -186,6 +189,8 @@ r2 = nlr(fPK02b, dPK02, pNames=c("ka", "V", "k", "tlag"),
r2$Est
```

\normalsize

### 모델링 결과

위 두개의 모델을 비교할 때 지연 시간이 있는 모델의 적합이 더 좋은 것을 알 수 있다. (그림 \@ref(fig:onecomp-lag)) C~max~ 부분을 주의깊게 살펴야 한다. \index{지연 시간}
Expand Down Expand Up @@ -267,6 +272,8 @@ for (i in 1:nID) {

정맥주사 후 약동학 자료에 대해 1구획모델로 구획분석을 수행하였고, 이때 구해진 PK 파라미터를 사용하여 150분까지 시뮬레이션 한 결과를 그림으로 나타내었다 (그림 \@ref(fig:onecomp-iv)). \index{약동학}\index{시뮬레이션}

\small

```{r onecomp-iv, fig.cap = "wnl 패키지를 통해 얻어진 정맥 투여 1구획모델 PK 파라미터로 150분까지 시뮬레이션한 결과. (실선: 예측값 곡선, 도형: 관찰값)", fig.width = 6, fig.height = 3.5}
plot(0, 1, type="n", xlim=c(0, 160), ylim=c(10, 1000),
log="y", xlab="Time (min)", ylab="Concentration (ug/L)")
Expand All @@ -279,6 +286,8 @@ for (i in 1:nID) {
}
```

\normalsize

## 2구획모델 경구 흡수 이용한 약동학 자료 분석\index{약동학}

wnl 라이브러리를 불러오고 자료를 읽어온다.
Expand Down Expand Up @@ -322,7 +331,7 @@ r1 <- nlr(fPK14a, dPK14,
r1$Est
```

### Compartmental analysis with Tlag
### Compartmental analysis with T~lag~

경구 투여 2구획, 지연 시간이 있는 모델이다. Ka, V, k21, alpha, beta 에 Tlag가 추가되어 농도를 나타낼 수 있다.\index{지연 시간}

Expand Down
2 changes: 1 addition & 1 deletion Output-ncar/txtNCA-Theoph.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Package version 0.4.4 (2021-07-16 KST)
R version 4.1.1 (2021-08-10)

Date and Time: 2021-09-16 16:58:43 Asia/Seoul
Date and Time: 2021-09-17 15:01:21 Asia/Seoul

Calculation Setting
-------------------
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 신약개발을 위한 실전 약동학 (I - 이론과 자료해석)<img src="images/cover.jpg" align="right" height="150" />
# 신약개발을 위한 실전 약동학 I (기본원리와 자료해석)<img src="images/cover.jpg" align="right" height="150" />

**Phamacokinetics for pharmaceutical scientists**

Expand Down Expand Up @@ -93,7 +93,7 @@
## Cover 제작용 비율

```r
(back <- 16.235) # 268 페이지
(back <- 9.525) # 150 페이지
(width <- 3+100+148+back+148+100+3)
(height <- 3+210+3)

Expand All @@ -104,3 +104,4 @@
width/height
# [1] 2.399236
```

Binary file not shown.
6 changes: 3 additions & 3 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="가톨릭대학교 계량약리학연구소(PIPET) 임동석, 한승훈, 한성필 - v1.0.0 (2021-09-16)" />


<meta name="date" content="2021-09-16" />
<meta name="date" content="2021-09-17" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -276,7 +276,7 @@
<li class="chapter" data-level="5.4" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델을-이용한-경구투여-후-약동학-자료-분석"><i class="fa fa-check"></i><b>5.4</b> 1구획모델을 이용한 경구투여 후 약동학 자료 분석</a>
<ul>
<li class="chapter" data-level="5.4.1" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-without-tlag"><i class="fa fa-check"></i><b>5.4.1</b> Compartmental analysis without Tlag</a></li>
<li class="chapter" data-level="5.4.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag"><i class="fa fa-check"></i><b>5.4.2</b> Compartmental analysis with Tlag</a></li>
<li class="chapter" data-level="5.4.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag"><i class="fa fa-check"></i><b>5.4.2</b> Compartmental analysis with T<sub>lag</sub></a></li>
<li class="chapter" data-level="5.4.3" data-path="ca-analysis.html"><a href="ca-analysis.html#모델링-결과"><i class="fa fa-check"></i><b>5.4.3</b> 모델링 결과</a></li>
</ul></li>
<li class="chapter" data-level="5.5" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델을-이용한-정맥주사-후-약동학-자료-분석"><i class="fa fa-check"></i><b>5.5</b> 1구획모델을 이용한 정맥주사 후 약동학 자료 분석</a>
Expand All @@ -287,7 +287,7 @@
<li class="chapter" data-level="5.6" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델-경구-흡수-이용한-약동학-자료-분석"><i class="fa fa-check"></i><b>5.6</b> 2구획모델 경구 흡수 이용한 약동학 자료 분석</a>
<ul>
<li class="chapter" data-level="5.6.1" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-without-tlag-1"><i class="fa fa-check"></i><b>5.6.1</b> Compartmental analysis without Tlag</a></li>
<li class="chapter" data-level="5.6.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag-1"><i class="fa fa-check"></i><b>5.6.2</b> Compartmental analysis with Tlag</a></li>
<li class="chapter" data-level="5.6.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag-1"><i class="fa fa-check"></i><b>5.6.2</b> Compartmental analysis with T<sub>lag</sub></a></li>
<li class="chapter" data-level="5.6.3" data-path="ca-analysis.html"><a href="ca-analysis.html#모델링-결과-2"><i class="fa fa-check"></i><b>5.6.3</b> 모델링 결과</a></li>
</ul></li>
<li class="chapter" data-level="5.7" data-path="ca-analysis.html"><a href="ca-analysis.html#theoph-wnl"><i class="fa fa-check"></i><b>5.7</b> Theoph 약동학 자료의 구획분석</a></li>
Expand Down
30 changes: 15 additions & 15 deletions docs/Theoph_nlr.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="가톨릭대학교 계량약리학연구소(PIPET) 임동석, 한승훈, 한성필 - v1.0.0 (2021-09-16)" />


<meta name="date" content="2021-09-16" />
<meta name="date" content="2021-09-17" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -276,7 +276,7 @@
<li class="chapter" data-level="5.4" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델을-이용한-경구투여-후-약동학-자료-분석"><i class="fa fa-check"></i><b>5.4</b> 1구획모델을 이용한 경구투여 후 약동학 자료 분석</a>
<ul>
<li class="chapter" data-level="5.4.1" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-without-tlag"><i class="fa fa-check"></i><b>5.4.1</b> Compartmental analysis without Tlag</a></li>
<li class="chapter" data-level="5.4.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag"><i class="fa fa-check"></i><b>5.4.2</b> Compartmental analysis with Tlag</a></li>
<li class="chapter" data-level="5.4.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag"><i class="fa fa-check"></i><b>5.4.2</b> Compartmental analysis with T<sub>lag</sub></a></li>
<li class="chapter" data-level="5.4.3" data-path="ca-analysis.html"><a href="ca-analysis.html#모델링-결과"><i class="fa fa-check"></i><b>5.4.3</b> 모델링 결과</a></li>
</ul></li>
<li class="chapter" data-level="5.5" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델을-이용한-정맥주사-후-약동학-자료-분석"><i class="fa fa-check"></i><b>5.5</b> 1구획모델을 이용한 정맥주사 후 약동학 자료 분석</a>
Expand All @@ -287,7 +287,7 @@
<li class="chapter" data-level="5.6" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델-경구-흡수-이용한-약동학-자료-분석"><i class="fa fa-check"></i><b>5.6</b> 2구획모델 경구 흡수 이용한 약동학 자료 분석</a>
<ul>
<li class="chapter" data-level="5.6.1" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-without-tlag-1"><i class="fa fa-check"></i><b>5.6.1</b> Compartmental analysis without Tlag</a></li>
<li class="chapter" data-level="5.6.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag-1"><i class="fa fa-check"></i><b>5.6.2</b> Compartmental analysis with Tlag</a></li>
<li class="chapter" data-level="5.6.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag-1"><i class="fa fa-check"></i><b>5.6.2</b> Compartmental analysis with T<sub>lag</sub></a></li>
<li class="chapter" data-level="5.6.3" data-path="ca-analysis.html"><a href="ca-analysis.html#모델링-결과-2"><i class="fa fa-check"></i><b>5.6.3</b> 모델링 결과</a></li>
</ul></li>
<li class="chapter" data-level="5.7" data-path="ca-analysis.html"><a href="ca-analysis.html#theoph-wnl"><i class="fa fa-check"></i><b>5.7</b> Theoph 약동학 자료의 구획분석</a></li>
Expand Down Expand Up @@ -418,7 +418,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [9] 6.353e-05 1.018e-01 2.654e-01
##
## $`Elapsed Time`
## Time difference of 0.07867 secs
## Time difference of 0.02343 secs
##
## [1] &quot;## ID = 2 ##&quot;
## $Est
Expand Down Expand Up @@ -483,7 +483,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [11] 0.008457
##
## $`Elapsed Time`
## Time difference of 0.02215 secs
## Time difference of 0.008093 secs
##
## [1] &quot;## ID = 3 ##&quot;
## $Est
Expand Down Expand Up @@ -548,7 +548,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [11] -0.29760
##
## $`Elapsed Time`
## Time difference of 0.02412 secs
## Time difference of 0.006063 secs
##
## [1] &quot;## ID = 4 ##&quot;
## $Est
Expand Down Expand Up @@ -612,7 +612,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [7] -0.2575 -0.2352 0.2780 0.2901 -0.1376
##
## $`Elapsed Time`
## Time difference of 0.0169 secs
## Time difference of 0.005136 secs
##
## [1] &quot;## ID = 5 ##&quot;
## $Est
Expand Down Expand Up @@ -677,7 +677,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [11] 0.102075
##
## $`Elapsed Time`
## Time difference of 0.01615 secs
## Time difference of 0.005399 secs
##
## [1] &quot;## ID = 6 ##&quot;
## $Est
Expand Down Expand Up @@ -741,7 +741,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [7] -0.2104 -0.2191 0.0595 0.2268 0.1271
##
## $`Elapsed Time`
## Time difference of 0.02065 secs
## Time difference of 0.005644 secs
##
## [1] &quot;## ID = 7 ##&quot;
## $Est
Expand Down Expand Up @@ -805,7 +805,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [7] 0.1209 -0.3054 -0.1850 0.1653 0.1796
##
## $`Elapsed Time`
## Time difference of 0.02037 secs
## Time difference of 0.006156 secs
##
## [1] &quot;## ID = 8 ##&quot;
## $Est
Expand Down Expand Up @@ -869,7 +869,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [7] -0.1496 -0.2478 0.3974 -0.1579 0.2044
##
## $`Elapsed Time`
## Time difference of 0.01457 secs
## Time difference of 0.005297 secs
##
## [1] &quot;## ID = 9 ##&quot;
## $Est
Expand Down Expand Up @@ -933,7 +933,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [7] 0.2990 -0.2183 0.2389 0.1227 0.1205
##
## $`Elapsed Time`
## Time difference of 0.02341 secs
## Time difference of 0.007387 secs
##
## [1] &quot;## ID = 10 ##&quot;
## $Est
Expand Down Expand Up @@ -998,7 +998,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [11] -0.01104
##
## $`Elapsed Time`
## Time difference of 0.02384 secs
## Time difference of 0.007705 secs
##
## [1] &quot;## ID = 11 ##&quot;
## $Est
Expand Down Expand Up @@ -1063,7 +1063,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [11] 0.04519
##
## $`Elapsed Time`
## Time difference of 0.03172 secs
## Time difference of 0.007589 secs
##
## [1] &quot;## ID = 12 ##&quot;
## $Est
Expand Down Expand Up @@ -1128,7 +1128,7 @@ <h1><span class="header-section-number">B</span> Theoph의 nlr의 전체 실행
## [11] -0.02175
##
## $`Elapsed Time`
## Time difference of 0.02196 secs</code></pre>
## Time difference of 0.008361 secs</code></pre>

</div>
</section>
Expand Down
6 changes: 3 additions & 3 deletions docs/Theoph_tblNCA.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="가톨릭대학교 계량약리학연구소(PIPET) 임동석, 한승훈, 한성필 - v1.0.0 (2021-09-16)" />


<meta name="date" content="2021-09-16" />
<meta name="date" content="2021-09-17" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand Down Expand Up @@ -276,7 +276,7 @@
<li class="chapter" data-level="5.4" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델을-이용한-경구투여-후-약동학-자료-분석"><i class="fa fa-check"></i><b>5.4</b> 1구획모델을 이용한 경구투여 후 약동학 자료 분석</a>
<ul>
<li class="chapter" data-level="5.4.1" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-without-tlag"><i class="fa fa-check"></i><b>5.4.1</b> Compartmental analysis without Tlag</a></li>
<li class="chapter" data-level="5.4.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag"><i class="fa fa-check"></i><b>5.4.2</b> Compartmental analysis with Tlag</a></li>
<li class="chapter" data-level="5.4.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag"><i class="fa fa-check"></i><b>5.4.2</b> Compartmental analysis with T<sub>lag</sub></a></li>
<li class="chapter" data-level="5.4.3" data-path="ca-analysis.html"><a href="ca-analysis.html#모델링-결과"><i class="fa fa-check"></i><b>5.4.3</b> 모델링 결과</a></li>
</ul></li>
<li class="chapter" data-level="5.5" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델을-이용한-정맥주사-후-약동학-자료-분석"><i class="fa fa-check"></i><b>5.5</b> 1구획모델을 이용한 정맥주사 후 약동학 자료 분석</a>
Expand All @@ -287,7 +287,7 @@
<li class="chapter" data-level="5.6" data-path="ca-analysis.html"><a href="ca-analysis.html#구획모델-경구-흡수-이용한-약동학-자료-분석"><i class="fa fa-check"></i><b>5.6</b> 2구획모델 경구 흡수 이용한 약동학 자료 분석</a>
<ul>
<li class="chapter" data-level="5.6.1" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-without-tlag-1"><i class="fa fa-check"></i><b>5.6.1</b> Compartmental analysis without Tlag</a></li>
<li class="chapter" data-level="5.6.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag-1"><i class="fa fa-check"></i><b>5.6.2</b> Compartmental analysis with Tlag</a></li>
<li class="chapter" data-level="5.6.2" data-path="ca-analysis.html"><a href="ca-analysis.html#compartmental-analysis-with-tlag-1"><i class="fa fa-check"></i><b>5.6.2</b> Compartmental analysis with T<sub>lag</sub></a></li>
<li class="chapter" data-level="5.6.3" data-path="ca-analysis.html"><a href="ca-analysis.html#모델링-결과-2"><i class="fa fa-check"></i><b>5.6.3</b> 모델링 결과</a></li>
</ul></li>
<li class="chapter" data-level="5.7" data-path="ca-analysis.html"><a href="ca-analysis.html#theoph-wnl"><i class="fa fa-check"></i><b>5.7</b> Theoph 약동학 자료의 구획분석</a></li>
Expand Down
Loading

0 comments on commit 1a4fcec

Please sign in to comment.