Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App finalize #58

Merged
merged 90 commits into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
12fe152
updated to recent version of roxygen and adapting the pkg documentati…
federicomarini Feb 24, 2024
29d5e53
re-rendered manpage
federicomarini Feb 24, 2024
c72fb5c
added biocViews "for consistency", URL and BugReports fields
federicomarini Feb 24, 2024
8809cca
icon() set to NULL instead of empty character string, to match the un…
federicomarini Feb 26, 2024
9d82022
Start "Input data formats and requirements" info box on first page as…
federicomarini Feb 26, 2024
52d7069
adding a maxsize_upload parameter, set to 50 (mb), adjustable upon st…
federicomarini Feb 26, 2024
f421bfa
download signature barplots as PDF and option to not cluster heatmap …
alex-d13 Apr 2, 2024
cd22f67
remove default signature and deconvolution result
alex-d13 Apr 5, 2024
0c6ffe7
add waiter during deconvolution, remove simbu from tour
alex-d13 Apr 5, 2024
788b5d9
update benchmarking plots
alex-d13 Apr 5, 2024
323666e
small visual updates
alex-d13 Apr 8, 2024
2fd3d44
fixed typo
alex-d13 Apr 8, 2024
37a911e
add autogenes to methods that require single-cell data
alex-d13 Apr 9, 2024
f965bed
more robust data upload and deconvolution/signature
alex-d13 Apr 9, 2024
ed5f7ad
use reference upload for deconvolution results, start with hover-tool…
alex-d13 Apr 10, 2024
aabdb9d
add screenshots of possible files
alex-d13 Apr 10, 2024
ba475eb
Merge branch 'app_finalize' of github.com:omnideconv/DeconvExplorer i…
alex-d13 Apr 10, 2024
c56d698
insert screenshots in info tab
alex-d13 Apr 10, 2024
ec5aa0f
Improvement of the heatmap clustering
LorenzoMerotto Apr 17, 2024
6497c86
remove CI checks for Windows/MacOS as these are not supported officia…
LorenzoMerotto Apr 17, 2024
3094f90
added DeconvExplorer Logo
czackl Apr 22, 2024
811c7ea
updated tour
czackl Apr 22, 2024
ac0bad0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
d43ac8e
added Logo
czackl Apr 22, 2024
50a5436
added Logo
czackl Apr 22, 2024
4149d8f
added logo
czackl Apr 22, 2024
a805089
removed unused code
czackl Apr 22, 2024
9bf80d3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
d8d77fe
updated documentation
czackl Apr 22, 2024
0c468d0
Merge branch 'tour' of github.com:omnideconv/DeconvExplorer into tour
czackl Apr 22, 2024
82b42fd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
5367d09
updated documentation
czackl Apr 22, 2024
626c723
Merge branch 'tour' of github.com:omnideconv/DeconvExplorer into tour
czackl Apr 22, 2024
92dc206
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
d35f64c
updated documentation
czackl Apr 23, 2024
893cc47
updated documentation
czackl Apr 24, 2024
8bb424f
Merge pull request #56 from omnideconv/tour
alex-d13 Apr 25, 2024
9fa542e
changed entropy to BioQC version
czackl Apr 26, 2024
7fb261d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 26, 2024
45e0ce8
updated authors
alex-d13 Apr 30, 2024
1826674
more info texts
alex-d13 Apr 30, 2024
6e84590
deconvExplorer logo
alex-d13 Apr 30, 2024
ae59674
Merge pull request #57 from omnideconv/entropyUpdate
alex-d13 May 8, 2024
912e5cb
download upset as PDF
alex-d13 May 8, 2024
2e56a0f
Merge branch 'app_finalize' of github.com:omnideconv/DeconvExplorer i…
alex-d13 May 8, 2024
eb402d9
update to R 4.4
alex-d13 May 27, 2024
0f5ff6c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 27, 2024
aa2a3bb
update to R 4.4
alex-d13 May 27, 2024
29f3d28
updated to recent version of roxygen and adapting the pkg documentati…
federicomarini Feb 24, 2024
662e81d
re-rendered manpage
federicomarini Feb 24, 2024
5a79fb1
added biocViews "for consistency", URL and BugReports fields
federicomarini Feb 24, 2024
1d78271
icon() set to NULL instead of empty character string, to match the un…
federicomarini Feb 26, 2024
12e5342
Start "Input data formats and requirements" info box on first page as…
federicomarini Feb 26, 2024
11efb18
adding a maxsize_upload parameter, set to 50 (mb), adjustable upon st…
federicomarini Feb 26, 2024
e722f6a
download signature barplots as PDF and option to not cluster heatmap …
alex-d13 Apr 2, 2024
543dcb3
remove default signature and deconvolution result
alex-d13 Apr 5, 2024
f4ea857
add waiter during deconvolution, remove simbu from tour
alex-d13 Apr 5, 2024
85be5e3
update benchmarking plots
alex-d13 Apr 5, 2024
5caa207
small visual updates
alex-d13 Apr 8, 2024
75bd9df
fixed typo
alex-d13 Apr 8, 2024
875156d
add autogenes to methods that require single-cell data
alex-d13 Apr 9, 2024
10c77d7
more robust data upload and deconvolution/signature
alex-d13 Apr 9, 2024
cb1ebaf
use reference upload for deconvolution results, start with hover-tool…
alex-d13 Apr 10, 2024
6a19dac
add screenshots of possible files
alex-d13 Apr 10, 2024
6465244
insert screenshots in info tab
alex-d13 Apr 10, 2024
f439e65
Improvement of the heatmap clustering
LorenzoMerotto Apr 17, 2024
f0e59cb
remove CI checks for Windows/MacOS as these are not supported officia…
LorenzoMerotto Apr 17, 2024
f001205
added DeconvExplorer Logo
czackl Apr 22, 2024
3d29fa7
updated tour
czackl Apr 22, 2024
ab59106
added Logo
czackl Apr 22, 2024
b1cd287
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
d013fdc
added logo
czackl Apr 22, 2024
8c77962
removed unused code
czackl Apr 22, 2024
a014523
updated documentation
czackl Apr 22, 2024
e23a808
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
0e520d1
updated documentation
czackl Apr 22, 2024
f6de740
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
9dfea87
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 22, 2024
3a24b84
updated documentation
czackl Apr 23, 2024
c08de3c
updated documentation
czackl Apr 24, 2024
ac6b123
updated authors
alex-d13 Apr 30, 2024
e24c6c2
more info texts
alex-d13 Apr 30, 2024
1820f24
deconvExplorer logo
alex-d13 Apr 30, 2024
c72337d
download upset as PDF
alex-d13 May 8, 2024
9fde382
changed entropy to BioQC version
czackl Apr 26, 2024
ba25cf8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 26, 2024
20259b6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] May 27, 2024
91767d2
update to R 4.4
alex-d13 May 27, 2024
344e768
Revert "update to R 4.4"
alex-d13 May 27, 2024
9f31edb
Merge branch 'app_finalize' of github.com:omnideconv/deconvExplorer i…
alex-d13 May 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ jobs:
fail-fast: false
matrix:
config:
- { os: macOS-latest, r: "release" }
- { os: windows-latest, r: "release" }
- { os: ubuntu-latest, r: "devel", http-user-agent: "release" }
- { os: ubuntu-latest, r: "release" }
- { os: ubuntu-latest, r: "oldrel-1" }
#- { os: ubuntu-latest, r: "oldrel-1" }

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
Expand Down
8 changes: 7 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Depends:
Imports:
shiny,
shinydashboard,
shinyBS,
omnideconv,
plotly,
ggplot2,
Expand All @@ -49,7 +50,7 @@ Imports:
stats,
circlize,
BioQC
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Encoding: UTF-8
Remotes:
github::omnideconv/omnideconv
Expand All @@ -59,5 +60,10 @@ Suggests:
bookdown,
testthat (>= 3.0.0),
markdown
biocViews:
Software, GeneExpression, ImmunoOncology, Sequencing, Transcription,
Classification, Transcriptomics, Visualization
URL: https://github.com/omnideconv/DeconvExplorer/
BugReports: https://github.com/omnideconv/DeconvExplorer/issues
VignetteBuilder: knitr
Config/testthat/edition: 3
4 changes: 3 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export(DeconvExplorer)
export(download_signatureUpset)
export(errorModal)
export(plot_benchmark_correlation)
export(plot_benchmark_rmse)
export(plot_benchmark_scatter)
Expand All @@ -14,10 +15,10 @@ export(removePercentZeros)
export(removeUnspecificGenes)
export(renameCellType)
export(returnSelectedDeconvolutions)
export(scoreEntropy)
export(selectGenesByScore)
import(omnideconv)
import(shiny, except = c(renderDataTable, dataTableOutput))
import(shinyBS)
importFrom(ComplexHeatmap,Heatmap)
importFrom(ComplexHeatmap,UpSet)
importFrom(ComplexHeatmap,comb_size)
Expand Down Expand Up @@ -50,6 +51,7 @@ importFrom(ggplot2,geom_col)
importFrom(ggplot2,geom_hline)
importFrom(ggplot2,geom_jitter)
importFrom(ggplot2,geom_point)
importFrom(ggplot2,geom_rect)
importFrom(ggplot2,geom_text)
importFrom(ggplot2,geom_tile)
importFrom(ggplot2,ggplot)
Expand Down
18 changes: 7 additions & 11 deletions R/BenchmarkingPlots.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,20 @@ plot_benchmark_scatter <- function(gtruth_df,

# merge
merged.df <- merge(df, ref, all.x = TRUE) # keep all deconvolution results
merged.df <- merged.df[complete.cases(merged.df), ]

# build plot
plot <- ggplot(merged.df, aes(x = .data$truth, y = .data$estimate, color = .data$cell_type)) +
geom_point(show.legend = FALSE) +
ggpubr::stat_cor(label.sep = "\n", size = 3, color = "black", label.x.npc = 0.01) +
geom_point(show.legend = FALSE, size = 3, alpha = .8) +
ggpubr::stat_cor(label.sep = "\n", size = 3, color = "black", label.x.npc = 0.05, label.y = max(merged.df$estimate) + 0.05, vjust = 1) +
ggforce::facet_grid_paginate(method ~ .data$cell_type,
margins = c("cell_type"), scales = "free"
margins = c("cell_type")
) +
ggplot2::theme_bw() +
theme(axis.text.x = element_text(angle = 60, hjust = 1)) +
theme(axis.text.x = element_text(angle = 60, hjust = 1), strip.background = element_rect(fill = "white")) +
labs(x = "true cellular fractions", y = "cell type estimates", title = "") +
theme(legend.position = "none", text = element_text(size = 15))

plot <- plot + geom_abline() +
ggforce::facet_grid_paginate(method ~ .data$cell_type,
margins = c("cell_type"), scales = "free"
) +
theme(axis.text.x = element_text(angle = 60, hjust = 1))
theme(legend.position = "none", text = element_text(size = 15)) +
geom_abline(linetype = "dashed")

# get palette
max_colors <- RColorBrewer::brewer.pal.info[color_palette, ]$maxcolors # for brewer.pal()
Expand Down
5 changes: 3 additions & 2 deletions R/DeconvExplorer-pkg.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' @importFrom ggplot2 aes aes_ aes_string coord_cartesian coord_flip element_text
#' facet_wrap geom_abline geom_boxplot geom_col geom_jitter geom_point
#' geom_tile ggplot guide_colorbar guides labs scale_fill_gradient theme geom_text element_blank
#' geom_hline scale_colour_brewer scale_fill_brewer ylim theme_minimal
#' geom_hline scale_colour_brewer scale_fill_brewer ylim theme_minimal geom_rect
#' @importFrom shinycssloaders withSpinner
#' @importFrom waiter Waitress
#' @importFrom rlang .data
Expand All @@ -32,7 +32,8 @@
#' @importFrom ggpubr stat_cor
#' @importFrom corrplot corrplot
#' @importFrom SummarizedExperiment assays
#' @import shinyBS
#'
#' @name DeconvExplorer-pkg
#' @docType package
NULL
"_PACKAGE"
Loading
Loading