Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
cyk0315 authored Feb 22, 2024
2 parents 391ba83 + 722c263 commit f0c762b
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 11 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
^CRAN-RELEASE$
^\.github$
^CRAN-SUBMISSION$
^cla$
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.4.2
Date: 2023-08-08 14:04:37 UTC
SHA: 73e6fe097b351763af69e3df059fcb0232f42357
Version: 1.4.4
Date: 2023-12-07 02:27:21 UTC
SHA: eba4c48441733627041c71a95c0e4a58f030387e
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Description: 'RStudio' addins and 'Shiny' modules for descriptive statistics, re
Depends: R (>= 3.4.0)
License: Apache License 2.0
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Imports: utils, stats, data.table, shiny, readxl, DT, jstable, labelled, methods, GGally, ggplot2, haven, rstudioapi, shinycustomloader, MatchIt(>= 3.0.0), survey, jskm(>= 0.4.4), survival, purrr, geepack, maxstat, survIDINRI, timeROC, shinyWidgets, pROC, Hmisc, see, readr, RColorBrewer, ggpubr, officer, rvg, epiDisplay, forestploter
URL: https://github.com/jinseob2kim/jsmodule
BugReports: https://github.com/jinseob2kim/jsmodule/issues
Expand Down
24 changes: 17 additions & 7 deletions R/jsBasicGadget.R
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
title = "subgroup cox",
sidebarLayout(
sidebarPanel(
forestcoxUI('Forest')
forestcoxUI("Forest")
),
mainPanel(
tabsetPanel(
Expand All @@ -297,6 +297,7 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
plotOutput("forestplot", width = "100%"),
ggplotdownUI("Forest")
)

)
)
)
Expand All @@ -305,9 +306,10 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
title = "subgroup regression",
sidebarLayout(
sidebarPanel(
forestglmUI('Forest_glm')
forestglmUI("Forest_glm")
),
mainPanel(

tabsetPanel(
type = "pills",
tabPanel(
Expand All @@ -324,6 +326,7 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
plotOutput("forestplot_glm", width = "100%"),
ggplotdownUI("Forest_glm")
)

)
)
)
Expand All @@ -332,7 +335,7 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
title = "subgroup logistic regression",
sidebarLayout(
sidebarPanel(
forestglmUI('Forest_glmbi')
forestglmUI("Forest_glmbi")
),
mainPanel(
tabsetPanel(
Expand All @@ -351,6 +354,7 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
plotOutput("forestplot_glmbi", width = "100%"),
ggplotdownUI("Forest_glmbi")
)

)
)
)
Expand Down Expand Up @@ -740,6 +744,7 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
caption.placement = "top"
)


outtable<-forestcoxServer('Forest',data=data,data_label=data.label)
output$tablesub<-renderDT({
outtable()[[1]]
Expand All @@ -760,6 +765,7 @@ jsBasicGadget <- function(data, nfactor.limit = 20) {
})
output$forestplot_glmbi<-renderPlot({
outtable_glmbi()[[2]]

})
session$onSessionEnded(function() {
stopApp()
Expand Down Expand Up @@ -1114,9 +1120,10 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
title = "subgroup cox",
sidebarLayout(
sidebarPanel(
forestcoxUI('Forest')
forestcoxUI("Forest")
),
mainPanel(

tabsetPanel(
type = "pills",
tabPanel(
Expand All @@ -1132,6 +1139,7 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
plotOutput("forestplot", width = "100%"),
ggplotdownUI("Forest")
)

)
)
)
Expand All @@ -1140,7 +1148,7 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
title = "subgroup regression",
sidebarLayout(
sidebarPanel(
forestglmUI('Forest_glm')
forestglmUI("Forest_glm")
),
mainPanel(
tabsetPanel(
Expand All @@ -1158,6 +1166,7 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
plotOutput("forestplot_glm", width = "100%"),
ggplotdownUI("Forest_glm")
)

)
)
)
Expand All @@ -1166,7 +1175,7 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
title = "subgroup logistic regression",
sidebarLayout(
sidebarPanel(
forestglmUI('Forest_glmbi')
forestglmUI("Forest_glmbi")
),
mainPanel(
tabsetPanel(
Expand All @@ -1184,8 +1193,8 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
plotOutput("forestplot_glmbi", width = "100%"),
ggplotdownUI("Forest_glmbi")
)
)

)
)
)
)
Expand Down Expand Up @@ -1445,6 +1454,7 @@ jsBasicExtAddin <- function(nfactor.limit = 20, max.filesize = 2048) {
})
output$forestplot_glmbi<-renderPlot({
outtable_glmbi()[[2]]

})
session$onSessionEnded(function() {
stopApp()
Expand Down
8 changes: 8 additions & 0 deletions cla/cla.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"created_at": "2023-12-12T10:55:16Z",
"repoId": 152427784,
"pullRequestNo": 17
},
{
"name": "cyk0315",
"id": 91959343,
"comment_id": 1923062718,
"created_at": "2024-02-02T06:52:12Z",
"repoId": 152427784,
"pullRequestNo": 18
}
]
}

0 comments on commit f0c762b

Please sign in to comment.