Skip to content

Commit 301c3e1

Browse files
committed
updated news for survival
1 parent 1c226e1 commit 301c3e1

File tree

5 files changed

+142
-93
lines changed

5 files changed

+142
-93
lines changed

NEWS.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,54 @@ https://www.youtube.com/watch?v=m3uInetiC8w
6161
https://twitter.com/serdarbalci/status/1263191858454413312
6262

6363

64+
- Some examples of survival analysis via @jamovistats #ClinicoPath module.
65+
Using #rstats #finalfit by @ewenharrison #survival #survminer #ggstatsplot in #jamovi
66+
#biostatistics #pathology #pathologists
67+
https://www.youtube.com/watch?v=gIPf4xIKAOU
68+
69+
https://www.linkedin.com/pulse/survival-analysis-via-jamovi-clinicopath-module-serdar-balc%25C4%25B1 #datavisualisation #datascience #patoloji #analysis #datascientist #data #clinicaltrials #clinicalstudies #clinicaltrial #clinicalresearch
70+
71+
72+
https://twitter.com/serdarbalci/status/1264153665386004480
73+
74+
It is generating natural language summaries to make easy to read the tables:
75+
"Median Survival:
76+
When LVI is Absent, median survival is 26 [20.1 - 32.3,”95% CI] months.
77+
When LVI is Present, median survival is 9.3 [8.8 - 10.6, 95% CI] months."
78+
79+
https://twitter.com/serdarbalci/status/1264153686508478465
80+
81+
“Hazard:
82+
When LVI is Present, there is 2.55 (1.85-3.51, p<0.001) times risk than when LVI is Absent.”
83+
84+
https://twitter.com/serdarbalci/status/1264153695715053568
85+
86+
"1, 3, 5-yr Survival:
87+
When LVI Absent, 12 month survival is 70.9% [63.36%-79.3%, 95% CI]. When LVI Absent, 24 month survival is 54.2% [45.85%-64.1%, When LVI Present, 12 month survival is 28.4% [20.03%-40.3%, 95% CI]. When LVI Present, 24 month survival is 14.4% …”
88+
89+
https://twitter.com/serdarbalci/status/1264153698764312577
90+
91+
"pairwise comparison of Grade:
92+
The comparison between Grade 2 and Grade 1 has a p-value of 0.87."
93+
Note for myself: The wording should be better.
94+
95+
https://twitter.com/serdarbalci/status/1264153700114862080
96+
97+
You can do multivariate survival analysis
98+
99+
https://twitter.com/serdarbalci/status/1264153711087140864
100+
101+
And also make Odds Ratio Tables and Plots.
102+
When you change the order of variables in jamovi data, the analysis also changes.
103+
104+
https://twitter.com/serdarbalci/status/1264153752015122432
105+
106+
107+
https://github.com/sbalci/ClinicoPathJamoviModule
108+
109+
110+
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLxRBOaoEoP4JfAMi7aIbkRXPXGUEwzTNv" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
111+
64112

65113

66114

README.Rmd

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ https://osf.io/9szud/
220220
#### Odds Ratio Table and Plot
221221

222222

223+
<img src="man/figures/jamovi-ClinicoPath-oddsratio.gif" align="center" width = 75% />
224+
225+
226+
227+
223228

224229
#### Competing Survival
225230

@@ -349,8 +354,9 @@ See https://github.com/ClinicoPath for forked packages.
349354

350355
---
351356

352-
<a class="twitter-follow-button" data-show-count="false" href="https://twitter.com/serdarbalci">Follow @serdarbalci</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
353-
<a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/bS0teIs"><img src="https://cdn.buymeacoffee.com/buttons/bmc-new-btn-logo.svg" alt="Buy me a coffee"><span style="margin-left:15px;font-size:28px !important;">Buy me a coffee</span></a>
357+
<a class="twitter-follow-button" data-show-count="false" href="https://twitter.com/serdarbalci">Follow @serdarbalci</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
358+
359+
<a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/bS0teIs"><img src="https://cdn.buymeacoffee.com/buttons/bmc-new-btn-logo.svg" alt="Buy me a coffee"><span style="margin-left:15px;font-size:28px !important;">Buy me a coffee</span></a>
354360

355361
https://paypal.me/serdarbalci
356362

@@ -474,3 +480,8 @@ https://paypal.me/serdarbalci
474480
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](https://github.com/sbalci/clinicopathjamovimodule/issues)
475481
![GitHub watchers](https://img.shields.io/github/watchers/sbalci/clinicopathjamovimodule?style=social)
476482

483+
484+
## Videos
485+
486+
<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLxRBOaoEoP4JfAMi7aIbkRXPXGUEwzTNv" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
487+

data/histopathologyanalysis.omv

-7.28 KB
Binary file not shown.
3.26 MB
Loading

tododata/todo.Rmd

Lines changed: 81 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,15 +1007,85 @@ usethis::use_data(histopathology)
10071007
```
10081008

10091009

1010+
## force git
1011+
1012+
```{r force git, eval=FALSE, include=FALSE}
1013+
# gitUpdateCommitPush
1014+
CommitMessage <- paste("updated on ", Sys.time(), sep = "")
1015+
wd <- getwd()
1016+
gitCommand <- paste("cd ", wd, " \n git add . \n git commit --message '", CommitMessage, "' \n git push origin master \n", sep = "")
1017+
system(command = gitCommand, intern = TRUE)
1018+
1019+
```
1020+
1021+
1022+
## update project for release
1023+
1024+
```{r update project for release}
1025+
1026+
readyfunctions <- c(
1027+
"refs",
1028+
# "^agreement",
1029+
# "^competingsurvival",
1030+
# "^correlation",
1031+
"^crosstable",
1032+
# "^decision",
1033+
# "^decisioncalculator",
1034+
# "^icccoeff",
1035+
"^multisurvival",
1036+
"^oddsratio",
1037+
# "^pairchi2",
1038+
"^reportcat",
1039+
# "^roc",
1040+
"^statsplot2",
1041+
"^summarydata",
1042+
"^survival",
1043+
"^tableone"
1044+
# "^tree",
1045+
# "^utils-pipe"
1046+
# "^vartree"
1047+
)
1048+
1049+
1050+
readyfunctions <- paste0(readyfunctions, collapse = "|")
1051+
1052+
files_R <-
1053+
list.files(path = here::here("R"),
1054+
pattern = readyfunctions,
1055+
full.names = TRUE)
1056+
1057+
files_jamovi <-
1058+
list.files(
1059+
path = here::here("jamovi"),
1060+
pattern = readyfunctions,
1061+
full.names = TRUE
1062+
)
1063+
1064+
files_data <-
1065+
list.files(
1066+
path = here::here("data"),
1067+
full.names = TRUE
1068+
)
1069+
1070+
1071+
file.copy(from = files_R,
1072+
to = "~/ClinicoPath/R/",
1073+
overwrite = TRUE)
1074+
1075+
1076+
file.copy(from = files_jamovi,
1077+
to = "~/ClinicoPath/jamovi/",
1078+
overwrite = TRUE)
1079+
1080+
1081+
file.copy(from = files_data,
1082+
to = "~/ClinicoPath/data/",
1083+
overwrite = TRUE)
1084+
1085+
file.copy(from = files_data,
1086+
to = "~/histopathRprojects/ClinicoPath/inst/extdata/",
1087+
overwrite = TRUE)
10101088
1011-
```{r}
1012-
data('histopathology')
1013-
dat <- as.data.frame(histopathology)
1014-
ClinicoPath::tableone(
1015-
data = dat,
1016-
vars = vars(Sex, PreinvasiveComponent, LVI, PNI, Grade, Age),
1017-
sty = "t2",
1018-
excl = TRUE)
10191089
```
10201090

10211091

@@ -1033,7 +1103,7 @@ deneme <- readxl::read_xlsx(path = here::here("tododata", "histopathology-templa
10331103
```
10341104

10351105

1036-
```{r}
1106+
```{r report}
10371107
deneme <- readxl::read_xlsx(path = here::here("tododata", "histopathology-template2019-11-25.xlsx"))
10381108
10391109
library(magrittr)
@@ -1052,11 +1122,11 @@ corx <- deneme %>%
10521122

10531123

10541124

1055-
```{r}
1125+
```{r inherits}
10561126
inherits(deneme$Sex, "character")
10571127
```
10581128

1059-
```{r}
1129+
```{r betweenstats}
10601130
ggstatsplot::ggbetweenstats(data = deneme,
10611131
x = Sex,
10621132
y = Age,
@@ -1491,16 +1561,6 @@ plot <-
14911561

14921562
# Other Codes
14931563

1494-
## force git
1495-
1496-
```{r force git, eval=FALSE, include=FALSE}
1497-
# gitUpdateCommitPush
1498-
CommitMessage <- paste("updated on ", Sys.time(), sep = "")
1499-
wd <- getwd()
1500-
gitCommand <- paste("cd ", wd, " \n git add . \n git commit --message '", CommitMessage, "' \n git push origin master \n", sep = "")
1501-
system(command = gitCommand, intern = TRUE)
1502-
1503-
```
15041564

15051565

15061566
## arsenal
@@ -2187,76 +2247,6 @@ https://towardsdatascience.com/rtest-pretty-testing-of-r-packages-50f50b135650
21872247

21882248

21892249

2190-
```{r update project for release}
2191-
2192-
readyfunctions <- c(
2193-
"refs",
2194-
# "^agreement",
2195-
# "^competingsurvival",
2196-
# "^correlation",
2197-
"^crosstable",
2198-
# "^decision",
2199-
# "^decisioncalculator",
2200-
# "^icccoeff",
2201-
# "^multisurvival",
2202-
# "^oddsratio",
2203-
# "^pairchi2",
2204-
"^reportcat",
2205-
# "^roc",
2206-
"^statsplot2",
2207-
"^summarydata",
2208-
# "^survival",
2209-
"^tableone"
2210-
# "^tree",
2211-
# "^utils-pipe"
2212-
# "^vartree"
2213-
)
2214-
2215-
2216-
readyfunctions <- paste0(readyfunctions, collapse = "|")
2217-
2218-
files_R <-
2219-
list.files(path = here::here("R"),
2220-
pattern = readyfunctions,
2221-
full.names = TRUE)
2222-
2223-
files_jamovi <-
2224-
list.files(
2225-
path = here::here("jamovi"),
2226-
pattern = readyfunctions,
2227-
full.names = TRUE
2228-
)
2229-
2230-
files_data <-
2231-
list.files(
2232-
path = here::here("data"),
2233-
full.names = TRUE
2234-
)
2235-
2236-
2237-
file.copy(from = files_R,
2238-
to = "~/ClinicoPath/R/",
2239-
overwrite = TRUE)
2240-
2241-
2242-
file.copy(from = files_jamovi,
2243-
to = "~/ClinicoPath/jamovi/",
2244-
overwrite = TRUE)
2245-
2246-
2247-
file.copy(from = files_data,
2248-
to = "~/ClinicoPath/data/",
2249-
overwrite = TRUE)
2250-
2251-
file.copy(from = files_data,
2252-
to = "~/histopathRprojects/ClinicoPath/inst/extdata/",
2253-
overwrite = TRUE)
2254-
2255-
```
2256-
2257-
2258-
2259-
22602250

22612251

22622252
```{r decision}

0 commit comments

Comments
 (0)