Back to Multiple platform build/check report for BioC 3.14
ABC[D]EFGHIJKLMNOPQRSTUVWXYZ

This page was generated on 2022-04-13 12:06:25 -0400 (Wed, 13 Apr 2022).

HostnameOSArch (*)R versionInstalled pkgs
nebbiolo2Linux (Ubuntu 20.04.4 LTS)x86_644.1.3 (2022-03-10) -- "One Push-Up" 4324
tokay2Windows Server 2012 R2 Standardx644.1.3 (2022-03-10) -- "One Push-Up" 4077
machv2macOS 10.14.6 Mojavex86_644.1.3 (2022-03-10) -- "One Push-Up" 4137
Click on any hostname to see more info about the system (e.g. compilers)      (*) as reported by 'uname -p', except on Windows and Mac OS X

CHECK results for debrowser on tokay2


To the developers/maintainers of the debrowser package:
- Please allow up to 24 hours (and sometimes 48 hours) for your latest push to git@git.bioconductor.org:packages/debrowser.git to
reflect on this report. See How and When does the builder pull? When will my changes propagate? for more information.
- Make sure to use the following settings in order to reproduce any error or warning you see on this page.

raw results

Package 460/2083HostnameOS / ArchINSTALLBUILDCHECKBUILD BIN
debrowser 1.22.5  (landing page)
Alper Kucukural
Snapshot Date: 2022-04-12 01:55:07 -0400 (Tue, 12 Apr 2022)
git_url: https://git.bioconductor.org/packages/debrowser
git_branch: RELEASE_3_14
git_last_commit: 5920c6b
git_last_commit_date: 2022-03-15 12:10:02 -0400 (Tue, 15 Mar 2022)
nebbiolo2Linux (Ubuntu 20.04.4 LTS) / x86_64  OK    OK    OK  UNNEEDED, same version is already published
tokay2Windows Server 2012 R2 Standard / x64  OK    OK    OK    OK  UNNEEDED, same version is already published
machv2macOS 10.14.6 Mojave / x86_64  OK    OK    OK    OK  UNNEEDED, same version is already published

Summary

Package: debrowser
Version: 1.22.5
Command: C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:debrowser.install-out.txt --library=C:\Users\biocbuild\bbs-3.14-bioc\R\library --no-vignettes --timings debrowser_1.22.5.tar.gz
StartedAt: 2022-04-12 18:16:52 -0400 (Tue, 12 Apr 2022)
EndedAt: 2022-04-12 18:26:14 -0400 (Tue, 12 Apr 2022)
EllapsedTime: 561.3 seconds
RetCode: 0
Status:   OK  
CheckDir: debrowser.Rcheck
Warnings: 0

Command output

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD check --force-multiarch --install=check:debrowser.install-out.txt --library=C:\Users\biocbuild\bbs-3.14-bioc\R\library --no-vignettes --timings debrowser_1.22.5.tar.gz
###
##############################################################################
##############################################################################


* using log directory 'C:/Users/biocbuild/bbs-3.14-bioc/meat/debrowser.Rcheck'
* using R version 4.1.3 (2022-03-10)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--no-vignettes'
* checking for file 'debrowser/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'debrowser' version '1.22.5'
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package 'debrowser' can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* loading checks for arch 'i386'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* loading checks for arch 'x64'
** checking whether the package can be loaded ... OK
** checking whether the package can be loaded with stated dependencies ... OK
** checking whether the package can be unloaded cleanly ... OK
** checking whether the namespace can be loaded with stated dependencies ... OK
** checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
checkCountData : <anonymous>: no visible binding for global variable
  'err'
debrowserdataload: no visible binding for global variable 'demodata'
debrowserhistogram: no visible global function definition for 'config'
getBarMainPlot: no visible global function definition for 'config'
getBoxMainPlot: no visible global function definition for 'config'
getDensityPlot: no visible binding for global variable 'samples'
getDensityPlot: no visible global function definition for 'config'
getGOPlots: no visible global function definition for 'facet_grid'
getIQRPlot: no visible global function definition for 'config'
mainScatterNew: no visible global function definition for 'config'
plot_pca: no visible binding for global variable 'x'
plot_pca: no visible binding for global variable 'y'
plot_pca: no visible binding for global variable 'samples'
plot_pca: no visible global function definition for 'config'
runHeatmap: no visible global function definition for 'config'
Undefined global functions or variables:
  config demodata err facet_grid samples x y
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking files in 'vignettes' ... OK
* checking examples ...
** running examples for arch 'i386' ... OK
** running examples for arch 'x64' ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
** running tests for arch 'i386' ...
  Running 'test-demo.R'
  Running 'test-deseq.R'
  Running 'test-null.R'
  Running 'test-ui.R'
 OK
** running tests for arch 'x64' ...
  Running 'test-demo.R'
  Running 'test-deseq.R'
  Running 'test-null.R'
  Running 'test-ui.R'
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ... SKIPPED
* checking re-building of vignette outputs ... SKIPPED
* checking PDF version of manual ... OK
* DONE

Status: 1 NOTE
See
  'C:/Users/biocbuild/bbs-3.14-bioc/meat/debrowser.Rcheck/00check.log'
for details.



Installation output

debrowser.Rcheck/00install.out

##############################################################################
##############################################################################
###
### Running command:
###
###   C:\cygwin\bin\curl.exe -O http://155.52.207.166/BBS/3.14/bioc/src/contrib/debrowser_1.22.5.tar.gz && rm -rf debrowser.buildbin-libdir && mkdir debrowser.buildbin-libdir && C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD INSTALL --merge-multiarch --build --library=debrowser.buildbin-libdir debrowser_1.22.5.tar.gz && C:\Users\biocbuild\bbs-3.14-bioc\R\bin\R.exe CMD INSTALL debrowser_1.22.5.zip && rm debrowser_1.22.5.tar.gz debrowser_1.22.5.zip
###
##############################################################################
##############################################################################


  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
 43 2484k   43 1090k    0     0  1213k      0  0:00:02 --:--:--  0:00:02 1213k
100 2484k  100 2484k    0     0  1334k      0  0:00:01  0:00:01 --:--:-- 1335k

install for i386

* installing *source* package 'debrowser' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'debrowser'
    finding HTML links ... done
    BoxMainPlotControlsUI                   html  
    IQRPlotControlsUI                       html  
    actionButtonDE                          html  
    addDataCols                             html  
    addID                                   html  
    all2all                                 html  
    all2allControlsUI                       html  
    applyFilters                            html  
    applyFiltersNew                         html  
    applyFiltersToMergedComparison          html  
    barMainPlotControlsUI                   html  
    batchEffectUI                           html  
    batchMethod                             html  
    changeClusterOrder                      html  
    checkCountData                          html  
    checkMetaData                           html  
    clustFunParamsUI                        html  
    clusterData                             html  
    compareClust                            html  
    condSelectUI                            html  
    correctCombat                           html  
    correctHarman                           html  
    customColorsUI                          html  
    cutOffSelectionUI                       html  
    dataLCFUI                               html  
    dataLoadUI                              html  
    deServer                                html  
    deUI                                    html  
    debrowserIQRplot                        html  
    debrowserall2all                        html  
    debrowserbarmainplot                    html  
    debrowserbatcheffect                    html  
    debrowserboxmainplot                    html  
    debrowsercondselect                     html  
    debrowserdataload                       html  
    debrowserdeanalysis                     html  
    debrowserdensityplot                    html  
    debrowserheatmap                        html  
    debrowserhistogram                      html  
    debrowserlowcountfilter                 html  
    debrowsermainplot                       html  
    debrowserpcaplot                        html  
    dendControlsUI                          html  
    densityPlotControlsUI                   html  
    distFunParamsUI                         html  
    drawKEGG                                html  
    drawPCAExplained                        html  
    fileTypes                               html  
    fileUploadBox                           html  
    generateTestData                        html  
    getAfterLoadMsg                         html  
    getAll2AllPlotUI                        html  
    getBSTableUI                            html  
    getBarMainPlot                          html  
    getBarMainPlotUI                        html  
    getBoxMainPlot                          html  
    getBoxMainPlotUI                        html  
    getColorShapeSelection                  html  
    getColors                               html  
    getCompSelection                        html  
    getCondMsg                              html  
    getConditionSelector                    html  
    getConditionSelectorFromMeta            html  
    getCovariateDetails                     html  
    getCutOffSelection                      html  
    getDEAnalysisText                       html  
    getDEResultsUI                          html  
    getDataAssesmentText                    html  
    getDataForTables                        html  
    getDataPreparationText                  html  
    getDensityPlot                          html  
    getDensityPlotUI                        html  
    getDomains                              html  
    getDown                                 html  
    getDownloadSection                      html  
    getEnrichDO                             html  
    getEnrichGO                             html  
    getEnrichKEGG                           html  
    getEntrezIds                            html  
    getEntrezTable                          html  
    getGOLeftMenu                           html  
    getGOPlots                              html  
    getGSEA                                 html  
    getGeneList                             html  
    getGeneSetData                          html  
    getGoPanel                              html  
    getGroupSelector                        html  
    getHeatmapUI                            html  
    getHelpButton                           html  
    getHideLegendOnOff                      html  
    getHistogramUI                          html  
    getIQRPlot                              html  
    getIQRPlotUI                            html  
    getIntroText                            html  
    getJSLine                               html  
    getKEGGModal                            html  
    getLeftMenu                             html  
    getLegendColors                         html  
    getLegendRadio                          html  
    getLegendSelect                         html  
    getLevelOrder                           html  
    getLoadingMsg                           html  
    getLogo                                 html  
    getMainPanel                            html  
    getMainPlotUI                           html  
    getMainPlotsLeftMenu                    html  
    getMean                                 html  
    getMergedComparison                     html  
    getMetaSelector                         html  
    getMethodDetails                        html  
    getMostVariedList                       html  
    getNormalizedMatrix                     html  
    getOrganism                             html  
    getOrganismBox                          html  
    getOrganismPathway                      html  
    getPCAPlotUI                            html  
    getPCAcontolUpdatesJS                   html  
    getPCAexplained                         html  
    getPCselection                          html  
    getPlotArea                             html  
    getProgramTitle                         html  
    getQAText                               html  
    getQCLeftMenu                           html  
    getQCPanel                              html  
    getSampleDetails                        html  
    getSampleNames                          html  
    getSamples                              html  
    getSearchData                           html  
    getSelHeat                              html  
    getSelectInputBox                       html  
    getSelectedCols                         html  
    getSelectedDatasetInput                 html  
    getShapeColor                           html  
    getStartPlotsMsg                        html  
    getStartupMsg                           html  
    getTabUpdateJS                          html  
    getTableDetails                         html  
    getTableModal                           html  
    getTableStyle                           html  
    getTextOnOff                            html  
    getUp                                   html  
    getUpDown                               html  
    getVariationData                        html  
    get_conditions_given_selection          html  
    heatmapControlsUI                       html  
    heatmapJScode                           html  
    heatmapServer                           html  
    heatmapUI                               html  
    hideObj                                 html  
    histogramControlsUI                     html  
    installpack                             html  
    kmeansControlsUI                        html  
    lcfMetRadio                             html  
    loadpack                                html  
    mainPlotControlsUI                      html  
    mainScatterNew                          html  
    niceKmeans                              html  
    normalizationMethods                    html  
    palUI                                   html  
    panel.cor                               html  
    panel.hist                              html  
    pcaPlotControlsUI                       html  
    plotData                                html  
    plotMarginsUI                           html  
    plotSizeMarginsUI                       html  
    plotSizeUI                              html  
    plotTypeUI                              html  
    plot_pca                                html  
    prepDEOutput                            html  
    prepDataContainer                       html  
    prepGroup                               html  
    prepHeatData                            html  
    prepPCADat                              html  
    push                                    html  
    removeCols                              html  
    removeExtraCols                         html  
    round_vals                              html  
    runDE                                   html  
    runDESeq2                               html  
    runEdgeR                                html  
    runHeatmap                              html  
    runHeatmap2                             html  
    runLimma                                html  
    run_pca                                 html  
    selectConditions                        html  
    selectGroupInfo                         html  
    selectedInput                           html  
    sepRadio                                html  
    setBatch                                html  
    showObj                                 html  
    startDEBrowser                          html  
    startHeatmap                            html  
    textareaInput                           html  
    togglePanels                            html  
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path

install for x64

* installing *source* package 'debrowser' ...
** testing if installed package can be loaded
* MD5 sums
packaged installation of 'debrowser' as debrowser_1.22.5.zip
* DONE (debrowser)
* installing to library 'C:/Users/biocbuild/bbs-3.14-bioc/R/library'
package 'debrowser' successfully unpacked and MD5 sums checked

Tests output

debrowser.Rcheck/tests_i386/test-demo.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> require(shiny)
Loading required package: shiny
> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> test_that("demo data can be loaded", {
+     load(system.file("extdata", "demo", "demodata.Rda",
+         package = "debrowser"))
+     expect_true(is.data.frame(demodata))
+     expect_equal(demodata[29311, 2], 2)
+     expect_equal(demodata[29311, 5], 7.1)
+     expect_equal(demodata[29311, 6], 6)
+     expect_null(demodata[1, 7])
+ })
Test passed 
> 
> proc.time()
   user  system elapsed 
  12.92    1.25   14.17 

debrowser.Rcheck/tests_x64/test-demo.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> require(shiny)
Loading required package: shiny
> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> test_that("demo data can be loaded", {
+     load(system.file("extdata", "demo", "demodata.Rda",
+         package = "debrowser"))
+     expect_true(is.data.frame(demodata))
+     expect_equal(demodata[29311, 2], 2)
+     expect_equal(demodata[29311, 5], 7.1)
+     expect_equal(demodata[29311, 6], 6)
+     expect_null(demodata[1, 7])
+ })
Test passed 
> 
> proc.time()
   user  system elapsed 
  13.15    0.64   13.78 

debrowser.Rcheck/tests_i386/test-deseq.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> load(system.file("extdata", "demo", "demodata.Rda",
+     package = "debrowser"))
> metadata <- metadatatable 
> columns <- c("exper_rep1", "exper_rep2", "exper_rep3",
+     "control_rep1", "control_rep2", "control_rep3")
> conds <- factor( c("Control", "Control", "Control",
+     "Treat", "Treat", "Treat") )
> data <- data.frame(demodata[, columns])
> 
> #Run DESeq2 with the following parameters
> params <- c("DESeq2", "NoCovariate", "parametric", F, "Wald", "None") 
> non_expressed_cutoff <- 10
> data <- subset(data, rowSums(data) > 10)
> test_that("Able to run DESeq2", {
+     deseqrun <- runDE(data, metadata, columns, conds, params)
+     expect_true(exists("deseqrun"))
+ })
Test passed 
> 
> ##################################################
> deseqrun <- runDE(data, metadata, columns, conds, params)
estimating size factors
estimating dispersions
gene-wise dispersion estimates
mean-dispersion relationship
final dispersion estimates
fitting model and testing
> 
> de_res <- data.frame(deseqrun)
> norm_data <- getNormalizedMatrix(data[, columns])
> rdata <- cbind(rownames(de_res), norm_data[rownames(de_res), columns],
+                 log10(rowMeans(norm_data[rownames(de_res),
+                 paste(c("exper_rep1", "exper_rep2", "exper_rep3"))])
+                 + 0.1), log10( rowMeans( norm_data[ rownames( de_res ),
+                 paste(c("control_rep1", "control_rep2", "control_rep3"))])
+                 + 0.1), de_res[rownames(de_res),
+                 c("padj", "log2FoldChange")], 2 ^ de_res[rownames(de_res),
+                 "log2FoldChange"], -1 *
+                 log10(de_res[rownames(de_res), "padj"]))
> colnames(rdata) <- c("ID", columns, "Cond1", "Cond2", "padj",
+                 "log2FoldChange", "foldChange", "log10padj")
> rdata <- as.data.frame(rdata)
> rdata$padj[is.na(rdata$padj)] <- 1
> 
> padj_cutoff <- 0.01
> foldChange_cutoff <- 2
> 
> rdata$Legend <- character(nrow(rdata))
> rdata$Legend[rdata$log2FoldChange > log2(foldChange_cutoff) &
+         rdata$padj < padj_cutoff] <- "Up"
> rdata$Legend[rdata$log2FoldChange < log2(1 / foldChange_cutoff) &
+         rdata$padj < padj_cutoff] <- "Down"
> rdata$Legend[abs(rdata$log2FoldChange) <= 
+         log2(foldChange_cutoff)] <- "NS"
> rdata$Legend[is.null(rdata$log10padj)] <- "NA"
> rdata$Size <- character(nrow(rdata))
> rdata[, "Size"] <- "40"
> 
> dat <- rdata
> dat$M <- rdata$Cond1 - rdata$Cond2
> dat$A <- (rdata$Cond1 + rdata$Cond2) / 2
> 
> updown <- rdata[rdata$Legend=="Up" | rdata$Legend=="Down",columns]
> ##################################################
> 
> 
> 
> proc.time()
   user  system elapsed 
  39.25    2.17   41.40 

debrowser.Rcheck/tests_x64/test-deseq.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> load(system.file("extdata", "demo", "demodata.Rda",
+     package = "debrowser"))
> metadata <- metadatatable 
> columns <- c("exper_rep1", "exper_rep2", "exper_rep3",
+     "control_rep1", "control_rep2", "control_rep3")
> conds <- factor( c("Control", "Control", "Control",
+     "Treat", "Treat", "Treat") )
> data <- data.frame(demodata[, columns])
> 
> #Run DESeq2 with the following parameters
> params <- c("DESeq2", "NoCovariate", "parametric", F, "Wald", "None") 
> non_expressed_cutoff <- 10
> data <- subset(data, rowSums(data) > 10)
> test_that("Able to run DESeq2", {
+     deseqrun <- runDE(data, metadata, columns, conds, params)
+     expect_true(exists("deseqrun"))
+ })
Test passed 
> 
> ##################################################
> deseqrun <- runDE(data, metadata, columns, conds, params)
estimating size factors
estimating dispersions
gene-wise dispersion estimates
mean-dispersion relationship
final dispersion estimates
fitting model and testing
> 
> de_res <- data.frame(deseqrun)
> norm_data <- getNormalizedMatrix(data[, columns])
> rdata <- cbind(rownames(de_res), norm_data[rownames(de_res), columns],
+                 log10(rowMeans(norm_data[rownames(de_res),
+                 paste(c("exper_rep1", "exper_rep2", "exper_rep3"))])
+                 + 0.1), log10( rowMeans( norm_data[ rownames( de_res ),
+                 paste(c("control_rep1", "control_rep2", "control_rep3"))])
+                 + 0.1), de_res[rownames(de_res),
+                 c("padj", "log2FoldChange")], 2 ^ de_res[rownames(de_res),
+                 "log2FoldChange"], -1 *
+                 log10(de_res[rownames(de_res), "padj"]))
> colnames(rdata) <- c("ID", columns, "Cond1", "Cond2", "padj",
+                 "log2FoldChange", "foldChange", "log10padj")
> rdata <- as.data.frame(rdata)
> rdata$padj[is.na(rdata$padj)] <- 1
> 
> padj_cutoff <- 0.01
> foldChange_cutoff <- 2
> 
> rdata$Legend <- character(nrow(rdata))
> rdata$Legend[rdata$log2FoldChange > log2(foldChange_cutoff) &
+         rdata$padj < padj_cutoff] <- "Up"
> rdata$Legend[rdata$log2FoldChange < log2(1 / foldChange_cutoff) &
+         rdata$padj < padj_cutoff] <- "Down"
> rdata$Legend[abs(rdata$log2FoldChange) <= 
+         log2(foldChange_cutoff)] <- "NS"
> rdata$Legend[is.null(rdata$log10padj)] <- "NA"
> rdata$Size <- character(nrow(rdata))
> rdata[, "Size"] <- "40"
> 
> dat <- rdata
> dat$M <- rdata$Cond1 - rdata$Cond2
> dat$A <- (rdata$Cond1 + rdata$Cond2) / 2
> 
> updown <- rdata[rdata$Legend=="Up" | rdata$Legend=="Down",columns]
> ##################################################
> 
> 
> 
> proc.time()
   user  system elapsed 
  38.98    0.95   39.90 

debrowser.Rcheck/tests_i386/test-null.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> require(shiny)
Loading required package: shiny
> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> test_that("passing no data returns NULL", {
+     expect_null(compareClust() )
+     expect_null(getGOPlots(NULL, NULL))
+     null_deseq <- runDE(NULL)
+     expect_null(null_deseq)
+     expect_null(plot_pca(NULL))
+ })
Test passed 
> 
> proc.time()
   user  system elapsed 
  11.98    1.23   13.20 

debrowser.Rcheck/tests_x64/test-null.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> require(shiny)
Loading required package: shiny
> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> test_that("passing no data returns NULL", {
+     expect_null(compareClust() )
+     expect_null(getGOPlots(NULL, NULL))
+     null_deseq <- runDE(NULL)
+     expect_null(null_deseq)
+     expect_null(plot_pca(NULL))
+ })
Test passed 
> 
> proc.time()
   user  system elapsed 
  12.56    0.56   13.10 

debrowser.Rcheck/tests_i386/test-ui.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: i386-w64-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> require(shiny)
Loading required package: shiny
> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> test_that("able to create panel UI", {
+     expect_silent( QCPanel <- getQCPanel() )
+     expect_true(exists("QCPanel"))
+     expect_equal(QCPanel[[1]][[1]], "div")
+ 
+     expect_silent( downloads <- getDownloadSection() )
+     expect_true(exists("downloads"))
+     expect_equal(downloads[[1]][[1]], "div")
+ 
+     expect_silent( getMain <- getMainPanel() )
+     expect_true(exists("getMain"))
+     expect_equal(getMain[[1]][[1]], "div")
+ 
+     expect_silent( getStart <- getStartupMsg() )
+     expect_true(exists("getStart"))
+     expect_equal(getStart[[1]][[1]], "div")
+ 
+     expect_silent( getAfter <- getAfterLoadMsg() )
+     expect_true(exists("getAfter"))
+     expect_equal(getAfter[[1]][[1]], "div")
+ 
+     expect_silent(getGO <- getGoPanel() )
+     expect_true(exists("getGO"))
+     expect_equal(getGO[[1]][[1]], "div")
+ })
Test passed 
> 
> proc.time()
   user  system elapsed 
  11.06    1.06   12.11 

debrowser.Rcheck/tests_x64/test-ui.Rout


R version 4.1.3 (2022-03-10) -- "One Push-Up"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> require(shiny)
Loading required package: shiny
> library(debrowser)



##############################################################################
Pathview is an open source software package distributed under GNU General
Public License version 3 (GPLv3). Details of GPLv3 is available at
http://www.gnu.org/licenses/gpl-3.0.html. Particullary, users are required to
formally cite the original Pathview paper (not just mention it) in publications
or products. For details, do citation("pathview") within R.

The pathview downloads and uses KEGG data. Non-academic uses may require a KEGG
license agreement (details at http://www.kegg.jp/kegg/legal.html).
##############################################################################
DEBrowser v1.22.5  For help: https://debrowser.readthedocs.org/

If you use DEBrowser in published research, please cite:

Alper Kucukural, Onur Yukselen, Deniz M. Ozata, Melissa J. Moore, Manuel Garber
DEBrowser: Interactive Differential Expression Analysis and Visualization Tool for Count Data
BMC Genomics 2019 20:6

doi:0.1186/s12864-018-5362-x

> library(testthat)
> 
> test_that("able to create panel UI", {
+     expect_silent( QCPanel <- getQCPanel() )
+     expect_true(exists("QCPanel"))
+     expect_equal(QCPanel[[1]][[1]], "div")
+ 
+     expect_silent( downloads <- getDownloadSection() )
+     expect_true(exists("downloads"))
+     expect_equal(downloads[[1]][[1]], "div")
+ 
+     expect_silent( getMain <- getMainPanel() )
+     expect_true(exists("getMain"))
+     expect_equal(getMain[[1]][[1]], "div")
+ 
+     expect_silent( getStart <- getStartupMsg() )
+     expect_true(exists("getStart"))
+     expect_equal(getStart[[1]][[1]], "div")
+ 
+     expect_silent( getAfter <- getAfterLoadMsg() )
+     expect_true(exists("getAfter"))
+     expect_equal(getAfter[[1]][[1]], "div")
+ 
+     expect_silent(getGO <- getGoPanel() )
+     expect_true(exists("getGO"))
+     expect_equal(getGO[[1]][[1]], "div")
+ })
Test passed 
> 
> proc.time()
   user  system elapsed 
  12.98    0.78   13.75 

Example timings

debrowser.Rcheck/examples_i386/debrowser-Ex.timings

nameusersystemelapsed
BoxMainPlotControlsUI0.050.000.05
IQRPlotControlsUI000
actionButtonDE000
addDataCols000
addID000
all2all0.250.000.25
all2allControlsUI0.050.000.05
applyFilters000
applyFiltersNew000
applyFiltersToMergedComparison000
barMainPlotControlsUI000
batchEffectUI0.030.030.06
batchMethod000
changeClusterOrder000
checkCountData0.010.000.02
checkMetaData000
clustFunParamsUI000
clusterData000
compareClust000
condSelectUI000
correctCombat000
correctHarman000
customColorsUI0.000.010.03
cutOffSelectionUI0.020.000.02
dataLCFUI0.010.020.03
dataLoadUI0.030.000.03
deServer0.000.020.02
deUI0.190.100.30
debrowserIQRplot000
debrowserall2all000
debrowserbarmainplot0.010.000.02
debrowserbatcheffect000
debrowserboxmainplot000
debrowsercondselect000
debrowserdataload000
debrowserdeanalysis000
debrowserdensityplot000
debrowserheatmap000
debrowserhistogram000
debrowserlowcountfilter000
debrowsermainplot000
debrowserpcaplot000
dendControlsUI000
densityPlotControlsUI000
distFunParamsUI000
drawKEGG000
drawPCAExplained000
fileTypes000
fileUploadBox000
generateTestData000
getAfterLoadMsg000
getAll2AllPlotUI000
getBSTableUI000
getBarMainPlot000
getBarMainPlotUI000
getBoxMainPlot000
getBoxMainPlotUI0.020.000.02
getColorShapeSelection000
getColors000
getCompSelection000
getCondMsg000
getConditionSelector000
getConditionSelectorFromMeta000
getCovariateDetails000
getCutOffSelection000
getDEAnalysisText000
getDEResultsUI0.000.020.01
getDataAssesmentText000
getDataForTables000
getDataPreparationText000
getDensityPlot000
getDensityPlotUI000
getDomains000
getDown000
getDownloadSection0.000.010.02
getEnrichDO000
getEnrichGO000
getEnrichKEGG000
getEntrezIds000
getEntrezTable000
getGOLeftMenu0.020.000.01
getGOPlots000
getGSEA000
getGeneList0.900.441.49
getGeneSetData000
getGoPanel0.030.010.04
getGroupSelector000
getHeatmapUI000
getHelpButton000
getHideLegendOnOff000
getHistogramUI000
getIQRPlot000
getIQRPlotUI000
getIntroText000
getJSLine000
getKEGGModal0.010.000.01
getLeftMenu000
getLegendColors000
getLegendRadio000
getLegendSelect000
getLevelOrder000
getLoadingMsg000
getLogo000
getMainPanel000
getMainPlotUI000
getMainPlotsLeftMenu0.110.000.11
getMean000
getMergedComparison000
getMetaSelector000
getMethodDetails000
getMostVariedList000
getNormalizedMatrix0.030.000.03
getOrganism000
getOrganismBox000
getOrganismPathway000
getPCAPlotUI000
getPCAcontolUpdatesJS000
getPCAexplained3.080.293.39
getPCselection000
getPlotArea000
getProgramTitle000
getQAText000
getQCLeftMenu000
getQCPanel000
getSampleDetails000
getSampleNames000
getSamples000
getSearchData000
getSelHeat000
getSelectInputBox000
getSelectedCols000
getSelectedDatasetInput000
getShapeColor000
getStartPlotsMsg000
getStartupMsg000
getTabUpdateJS000
getTableDetails000
getTableModal0.020.000.01
getTableStyle000
getTextOnOff000
getUp000
getUpDown000
getVariationData000
get_conditions_given_selection0.020.000.02
heatmapControlsUI0.030.000.03
heatmapJScode000
heatmapServer000
heatmapUI0.080.000.08
hideObj000
histogramControlsUI000
installpack000
kmeansControlsUI000
lcfMetRadio0.010.000.01
loadpack0.080.090.18
mainPlotControlsUI000
mainScatterNew000
niceKmeans000
normalizationMethods000
palUI000
panel.cor000
panel.hist000
pcaPlotControlsUI000
plotData000
plotMarginsUI000
plotSizeMarginsUI000
plotSizeUI000
plotTypeUI000
plot_pca1.830.081.90
prepDEOutput000
prepDataContainer000
prepGroup000
prepHeatData000
prepPCADat000
push000
removeCols000
removeExtraCols000
round_vals000
runDE000
runDESeq2000
runEdgeR000
runHeatmap000
runHeatmap2000
runLimma000
run_pca0.720.080.80
selectConditions000
selectGroupInfo000
selectedInput000
sepRadio000
setBatch000
showObj000
startDEBrowser000
startHeatmap000
textareaInput000
togglePanels000

debrowser.Rcheck/examples_x64/debrowser-Ex.timings

nameusersystemelapsed
BoxMainPlotControlsUI0.020.020.04
IQRPlotControlsUI000
actionButtonDE000
addDataCols000
addID000
all2all0.130.000.13
all2allControlsUI0.050.000.04
applyFilters000
applyFiltersNew000
applyFiltersToMergedComparison000
barMainPlotControlsUI000
batchEffectUI0.030.010.05
batchMethod000
changeClusterOrder000
checkCountData000
checkMetaData000
clustFunParamsUI000
clusterData000
compareClust000
condSelectUI0.010.000.02
correctCombat000
correctHarman000
customColorsUI000
cutOffSelectionUI000
dataLCFUI0.030.000.03
dataLoadUI0.020.000.01
deServer000
deUI0.140.000.14
debrowserIQRplot000
debrowserall2all000
debrowserbarmainplot000
debrowserbatcheffect000
debrowserboxmainplot000
debrowsercondselect000
debrowserdataload000
debrowserdeanalysis000
debrowserdensityplot000
debrowserheatmap000
debrowserhistogram000
debrowserlowcountfilter000
debrowsermainplot000
debrowserpcaplot0.000.020.02
dendControlsUI000
densityPlotControlsUI000
distFunParamsUI000
drawKEGG000
drawPCAExplained000
fileTypes000
fileUploadBox000
generateTestData000
getAfterLoadMsg000
getAll2AllPlotUI000
getBSTableUI000
getBarMainPlot000
getBarMainPlotUI000
getBoxMainPlot000
getBoxMainPlotUI000
getColorShapeSelection000
getColors000
getCompSelection000
getCondMsg000
getConditionSelector000
getConditionSelectorFromMeta000
getCovariateDetails000
getCutOffSelection000
getDEAnalysisText000
getDEResultsUI000
getDataAssesmentText000
getDataForTables000
getDataPreparationText0.020.000.02
getDensityPlot000
getDensityPlotUI000
getDomains000
getDown000
getDownloadSection000
getEnrichDO000
getEnrichGO000
getEnrichKEGG000
getEntrezIds000
getEntrezTable000
getGOLeftMenu0.010.000.02
getGOPlots000
getGSEA000
getGeneList0.390.190.57
getGeneSetData000
getGoPanel0.020.000.02
getGroupSelector000
getHeatmapUI000
getHelpButton000
getHideLegendOnOff000
getHistogramUI000
getIQRPlot000
getIQRPlotUI000
getIntroText000
getJSLine000
getKEGGModal000
getLeftMenu000
getLegendColors000
getLegendRadio000
getLegendSelect000
getLevelOrder000
getLoadingMsg000
getLogo000
getMainPanel000
getMainPlotUI000
getMainPlotsLeftMenu0.050.000.05
getMean000
getMergedComparison000
getMetaSelector000
getMethodDetails000
getMostVariedList000
getNormalizedMatrix000
getOrganism000
getOrganismBox0.020.000.02
getOrganismPathway000
getPCAPlotUI000
getPCAcontolUpdatesJS000
getPCAexplained1.650.031.69
getPCselection000
getPlotArea000
getProgramTitle000
getQAText000
getQCLeftMenu000
getQCPanel000
getSampleDetails000
getSampleNames000
getSamples000
getSearchData000
getSelHeat000
getSelectInputBox000
getSelectedCols000
getSelectedDatasetInput000
getShapeColor000
getStartPlotsMsg000
getStartupMsg000
getTabUpdateJS000
getTableDetails000
getTableModal0.020.000.02
getTableStyle000
getTextOnOff000
getUp000
getUpDown000
getVariationData000
get_conditions_given_selection000
heatmapControlsUI0.010.020.03
heatmapJScode000
heatmapServer000
heatmapUI0.060.000.06
hideObj000
histogramControlsUI000
installpack000
kmeansControlsUI000
lcfMetRadio000
loadpack0.060.060.12
mainPlotControlsUI000
mainScatterNew000
niceKmeans000
normalizationMethods0.020.000.02
palUI000
panel.cor000
panel.hist000
pcaPlotControlsUI000
plotData000
plotMarginsUI000
plotSizeMarginsUI0.010.000.01
plotSizeUI000
plotTypeUI000
plot_pca0.710.030.74
prepDEOutput000
prepDataContainer000
prepGroup000
prepHeatData000
prepPCADat000
push000
removeCols000
removeExtraCols000
round_vals000
runDE000
runDESeq2000
runEdgeR000
runHeatmap000
runHeatmap2000
runLimma000
run_pca1.260.011.28
selectConditions000
selectGroupInfo000
selectedInput000
sepRadio000
setBatch000
showObj000
startDEBrowser000
startHeatmap000
textareaInput000
togglePanels000