Skip to content

Commit 0c658f3

Browse files
authored
Merge pull request #23 from NICHD-BSPC/devel
Merge 'devel' into 'main'
2 parents a1f9994 + b965d6a commit 0c658f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2771
-191
lines changed

.Rbuildignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
^docs$
1111
^pkgdown$
1212
^\.github$
13+
^run-tests\.R$
14+
^application-map\.md$
15+
^carnation_application_note\.md$
16+
^testing*.md$

.github/workflows/conda.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ name: conda
1010

1111
on:
1212
push:
13-
branches: [ "main" ]
13+
branches: [ "main", "devel" ]
1414
pull_request:
1515
types:
1616
- opened
@@ -73,17 +73,25 @@ jobs:
7373
cd .. && mkdir tmp && cd tmp
7474
7575
# build, check
76-
R CMD build --no-manual ../carnation
77-
R CMD check --no-manual --no-vignettes --timings --as-cran carnation_${VERSION}.tar.gz
76+
time R CMD build --no-manual ../carnation
77+
time R CMD check --no-manual --no-vignettes --timings --as-cran carnation_${VERSION}.tar.gz
7878
7979
mv carnation_${VERSION}.tar.gz ${WORKDIR}/carnation.tar.gz
80+
tar cvf rcmdcheck.tar.gz carnation.Rcheck
81+
mv rcmdcheck.tar.gz ${WORKDIR}/rcmdcheck.tar.gz
8082
8183
- name: env tarball
8284
uses: actions/upload-artifact@v4
8385
with:
8486
name: carnation-bundle
8587
path: carnation.tar.gz
8688

89+
- name: R CMD check log
90+
uses: actions/upload-artifact@v4
91+
with:
92+
name: carnation-rcmdcheck
93+
path: rcmdcheck.tar.gz
94+
8795
- name: conda env pinned
8896
run: |
8997
source "${HOME}/conda/etc/profile.d/conda.sh"

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1+
.DS_Store
12
inst/doc
23
docs
4+
debug*
5+
run_*.R
6+
test_*.R
7+
application*.md
8+
carnation_application_note.md
9+
testing*.md

DESCRIPTION

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
Package: carnation
22
Title: Shiny App to Explore RNA-Seq Analysis
3-
Version: 0.99.6
3+
Version: 0.99.7
44
Authors@R:
5-
person("Apratim", "Mitra", , "apratim.mitra@nih.gov", role = c("aut", "cre"),
6-
comment = c(ORCID = "0000-0003-3279-0054"))
5+
c(
6+
person("Apratim", "Mitra", , "apratim.mitra@nih.gov",
7+
role = c("aut", "cre"), comment = c(ORCID = "0000-0003-3279-0054")),
8+
person("Ryan", "Dale", , "ryan.dale@nih.gov",
9+
role = c("fnd"), comment = c(ORCID = "0000-0003-2664-3744"))
10+
)
711
Description: Interactive Shiny dashboard app that can be used to
812
explore RNA-Seq analysis results including differential expression (DE),
913
functional enrichment and pattern analysis. Several visualizations
@@ -17,9 +21,9 @@ Description: Interactive Shiny dashboard app that can be used to
1721
License: MIT + file LICENSE
1822
Encoding: UTF-8
1923
Roxygen: list(markdown = TRUE)
20-
RoxygenNote: 7.3.2
24+
RoxygenNote: 7.3.3
2125
Depends:
22-
R (>= 4.3.0)
26+
R (>= 4.6.0)
2327
Imports:
2428
BiocParallel,
2529
colorspace,
@@ -57,10 +61,12 @@ Imports:
5761
yaml
5862
Suggests:
5963
airway,
64+
BiocStyle,
6065
knitr,
6166
org.Hs.eg.db,
6267
DEGreport,
6368
rmarkdown,
69+
testthat
6470
VignetteBuilder: knitr
6571
URL: https://nichd-bspc.github.io/carnation/
6672
BugReports: https://github.com/NICHD-BSPC/carnation/issues

NEWS.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1-
# carnation 0.99.0
1+
# carnation
2+
3+
## v0.99.7
4+
5+
- Add unit tests
6+
- Address Bioconductor review comments
7+
8+
## v0.99.6
9+
10+
- Made `R CMD check` more efficient by switching multiple module server
11+
examples to `examplesIf interactive()`.
12+
13+
## v0.99.3
14+
15+
- removed `clusterProfiler` & `DEGreport` from Suggests
16+
- added examples to exported functions
17+
18+
## v0.99.1
19+
20+
- Updated vignette with carnation app screenshots
21+
- Added vignette dependencies to Suggests
22+
23+
## v0.99.0
224

325
- carnation submitted to bioconductor for review

R/app.R

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ run_carnation <- function(credentials=NULL, passphrase=NULL, enable_admin=TRUE,
136136

137137
icon = icon("sliders-h"), width = "400px",
138138
size='sm',
139+
inputId="global_settings",
139140

140141
tooltip = tooltipOptions(title = "Global settings")
141142

@@ -316,6 +317,7 @@ run_carnation <- function(credentials=NULL, passphrase=NULL, enable_admin=TRUE,
316317

317318
icon = icon("gear"), width = "400px",
318319
size='sm',
320+
inputId="tab_settings",
319321

320322
tooltip = tooltipOptions(title = "Settings")
321323

@@ -400,6 +402,7 @@ run_carnation <- function(credentials=NULL, passphrase=NULL, enable_admin=TRUE,
400402

401403
icon = icon("clipboard"), width = "400px",
402404
size='sm',
405+
inputId="scratchpad",
403406

404407
tooltip = tooltipOptions(title = "Gene scratchpad")
405408

@@ -442,7 +445,9 @@ run_carnation <- function(credentials=NULL, passphrase=NULL, enable_admin=TRUE,
442445
) # conditionalPanel
443446
), # column
444447
column(9, style='margin-top: 20px',
445-
DTOutput('analysis_desc')
448+
conditionalPanel('input.data_type == "Existing"',
449+
DTOutput('analysis_desc')
450+
) # conditionalPanel
446451
)
447452
), # fluidRow
448453

R/buttons.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ helpModal <- function(mdfile, title=NULL, ...){
103103
#' UI returns tagList with download button UI.
104104
#' Server invisibly returns NULL (used for side effects).
105105
#'
106-
#' @examples
106+
#' @examplesIf interactive()
107107
#' library(shiny)
108108
#' library(ggplot2)
109109
#'

R/carnation-pkg.R

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#' carnation
2+
#'
3+
#' `carnation` is an interactive Shiny dashboard that makes complex bulk RNA-Seq
4+
#' data more accessible and intuitive, integrating all facets of bulk RNA-Seq
5+
#' analysis using three modules - differential expression analysis, functional
6+
#' enrichment and pattern analysis.
7+
#'
8+
#' - Deeply explore analysis results from complex experiments using interactive plots.
9+
#' - Easily keep track of genes of interest using the 'Gene scratchpad'.
10+
#' - Use fuzzy search to filter and search functional enrichment results.
11+
#' - Visualize complex patterns using highly customizable gene plot.
12+
#' - Manage local data in single-user mode or deploy on a server to share with
13+
#' collaborators using in-built user management system.
14+
#'
15+
#' @keywords internal
16+
'_PACKAGE'

0 commit comments

Comments
 (0)