Skip to content

Commit 6ce2b5c

Browse files
committed
usethis::use_gpl_license(version = 2)
1 parent 325fa53 commit 6ce2b5c

17 files changed

+382
-30
lines changed

DESCRIPTION

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: ClinicoPathDescriptives
33
Title: Descriptives Functions for Clinicopathological Research
4-
Version: 0.0.2.26
5-
Date: 2024-01-19
4+
Version: 0.0.2.28
5+
Date: 2024-11-02
66
Authors@R:
77
person(given = "Serdar",
88
family = "Balci",
@@ -21,7 +21,7 @@ URL: https://github.com/sbalci/ClinicoPathJamoviModule/,
2121
https://sbalci.github.io/ClinicoPathJamoviModule/
2222
BugReports:
2323
https://github.com/sbalci/ClinicoPathJamoviModule/issues/
24-
License: GPL-3
24+
License: GPL (>= 2)
2525
Depends:
2626
R (>= 4.1.0)
2727
Imports:
@@ -50,10 +50,10 @@ Imports:
5050
shiny,
5151
gtsummary,
5252
gtExtras,
53-
UpSetR
53+
labelled
5454
Remotes:
5555
nbarrowman/vtree@ffa53d4ea5050fa9b26918f4bb30595e91a0f489
5656
Encoding: UTF-8
5757
LazyData: true
5858
Roxygen: list(markdown = TRUE)
59-
RoxygenNote: 7.2.3
59+
RoxygenNote: 7.3.1

LICENSE.md

Lines changed: 336 additions & 0 deletions
Large diffs are not rendered by default.

R/00jmv.R

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,17 @@
434434
`type`="software",
435435
`author`="Linlin Yan",
436436
`year`=2020,
437-
`title`=" Venn Diagram by ggplot2, with really easy-to-use API",
437+
`title`="Venn Diagram by ggplot2, with really easy-to-use API",
438438
`publisher`="[R package]. Retrieved from https://github.com/yanlinlin82/ggvenn",
439439
`url`="https://github.com/yanlinlin82/ggvenn"),
440+
`upset`=list(
441+
`type`="software",
442+
`author`="Jake R Conway, Alexander Lex, Nils Gehlenborg",
443+
`year`=2017,
444+
`title`="UpSetR: An R Package for the Visualization of Intersecting Sets and their Properties",
445+
`doi`="10.1093/bioinformatics/btx364",
446+
`publisher`="[R package]. Retrieved from https://CRAN.R-project.org/package=UpSetR",
447+
`url`="https://CRAN.R-project.org/package=UpSetR"),
440448
`ClinicoPathJamoviModule`=list(
441449
`type`="software",
442450
`author`="Serdar Balci",

R/crosstable.h.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ crosstableBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
186186
#' Function for making Cross Tables.
187187
#'
188188
#' @examples
189-
#' \dontrun{
189+
#' \donttest{
190190
#' # example will be added
191191
#'}
192192
#' @param data The data as a data frame.

R/reportcat.h.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ reportcatBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
9090
#' Function for Generating Summaries for Categorical Variables.
9191
#'
9292
#' @examples
93-
#' \dontrun{
93+
#' \donttest{
9494
#' # example will be added
9595
#'}
9696
#' @param data the data as a data frame

R/summarydata.h.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ summarydataBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
8686
#' Function for Generating Summaries for Continuous Variables.
8787
#'
8888
#' @examples
89-
#' \dontrun{
89+
#' \donttest{
9090
#' # example will be added
9191
#'}
9292
#' @param data The data as a data frame.

R/tableone.h.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ tableoneBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
132132
#' Function for making Table One.
133133
#'
134134
#' @examples
135-
#' \dontrun{
135+
#' \donttest{
136136
#' data('histopathology')
137137
#' dat <- as.data.frame(histopathology)
138138
#' ClinicoPath::tableone(

R/vartree.h.R

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ vartreeResults <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
259259
active = list(
260260
todo = function() private$.items[["todo"]],
261261
text1 = function() private$.items[["text1"]],
262-
r_cleaneddata = function() private$.items[["r_cleaneddata"]],
263262
text2 = function() private$.items[["text2"]]),
264263
private = list(),
265264
public=list(
@@ -281,10 +280,6 @@ vartreeResults <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
281280
title="Variable Tree",
282281
clearWith=list(
283282
"maxwidth")))
284-
self$add(jmvcore::Preformatted$new(
285-
options=options,
286-
name="r_cleaneddata",
287-
title="Cleaned Data"))
288283
self$add(jmvcore::Preformatted$new(
289284
options=options,
290285
name="text2",
@@ -317,7 +312,7 @@ vartreeBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
317312
#' Function for Generating Tree Summaries of Variables.
318313
#'
319314
#' @examples
320-
#' \dontrun{
315+
#' \donttest{
321316
#' # example will be added
322317
#'}
323318
#' @param data The data as a data frame.
@@ -351,7 +346,6 @@ vartreeBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
351346
#' \tabular{llllll}{
352347
#' \code{results$todo} \tab \tab \tab \tab \tab a html \cr
353348
#' \code{results$text1} \tab \tab \tab \tab \tab a html \cr
354-
#' \code{results$r_cleaneddata} \tab \tab \tab \tab \tab a preformatted \cr
355349
#' \code{results$text2} \tab \tab \tab \tab \tab a preformatted \cr
356350
#' }
357351
#'

R/venn.h.R

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ vennResults <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
104104
inherit = jmvcore::Group,
105105
active = list(
106106
todo = function() private$.items[["todo"]],
107-
plot = function() private$.items[["plot"]]),
107+
plot = function() private$.items[["plot"]],
108+
plot2 = function() private$.items[["plot2"]]),
108109
private = list(),
109110
public=list(
110111
initialize=function(options) {
@@ -113,7 +114,6 @@ vennResults <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
113114
name="",
114115
title="Venn Diagram",
115116
refs=list(
116-
"venn",
117117
"ClinicoPathJamoviModule"),
118118
clearWith=list(
119119
"var1",
@@ -132,10 +132,22 @@ vennResults <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
132132
options=options,
133133
title="Venn Diagram",
134134
name="plot",
135-
width=600,
135+
width=700,
136136
height=450,
137137
renderFun=".plot",
138-
requiresData=TRUE))}))
138+
requiresData=TRUE,
139+
refs=list(
140+
"venn")))
141+
self$add(jmvcore::Image$new(
142+
options=options,
143+
title="Upset Diagram",
144+
name="plot2",
145+
width=700,
146+
height=450,
147+
renderFun=".plot2",
148+
requiresData=TRUE,
149+
refs=list(
150+
"upset")))}))
139151

140152
vennBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
141153
"vennBase",
@@ -174,6 +186,7 @@ vennBase <- if (requireNamespace("jmvcore", quietly=TRUE)) R6::R6Class(
174186
#' \tabular{llllll}{
175187
#' \code{results$todo} \tab \tab \tab \tab \tab a html \cr
176188
#' \code{results$plot} \tab \tab \tab \tab \tab an image \cr
189+
#' \code{results$plot2} \tab \tab \tab \tab \tab an image \cr
177190
#' }
178191
#'
179192
#' @export

jamovi/0000.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: Descriptives Functions for Clinicopathological Research
33
name: ClinicoPathDescriptives
4-
version: 0.0.2.26
4+
version: 0.0.2.28
55
jms: '1.0'
66
authors:
77
- Serdar Balci
88
maintainer: Serdar Balci <drserdarbalci@gmail.com>
9-
date: '2024-01-19'
9+
date: '2024-11-02'
1010
type: R
1111
description: >-
1212
Descriptives Functions for Clinicopathological Research Descriptive functions

man/ClinicoPath-package.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/crosstable.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/reportcat.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/summarydata.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/tableone.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/vartree.Rd

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/venn.Rd

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)