This page was generated on 2020-10-17 11:58:59 -0400 (Sat, 17 Oct 2020).
mitch 1.0.10 Mark Ziemann
Snapshot Date: 2020-10-16 14:40:19 -0400 (Fri, 16 Oct 2020) |
URL: https://git.bioconductor.org/packages/mitch |
Branch: RELEASE_3_11 |
Last Commit: 27e6d40 |
Last Changed Date: 2020-10-09 01:51:13 -0400 (Fri, 09 Oct 2020) |
| malbec2 | Linux (Ubuntu 18.04.4 LTS) / x86_64 | OK | OK | OK | | |
tokay2 | Windows Server 2012 R2 Standard / x64 | OK | OK | OK | OK | |
machv2 | macOS 10.14.6 Mojave / x86_64 | OK | OK | [ OK ] | OK | |
R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin17.0 (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("mitch")
> library("testthat")
>
> test_that("multiplication works", {
+ expect_equal(2 * 2, 4)
+ })
>
> # 1d
> data(rna,genesetsExample)
> y<-mitch_import(rna,DEtype="edgeR")
The input is a single dataframe; one contrast only. Converting
it to a list for you.
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small
p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="1d.pdf")
null device
1
> if (file.exists("1d.html")) { unlink("1d.html") }
> mitch_report(res,"1d.html")
Dataset saved as " /tmp/RtmpPSEAfo/1d.rds ".
processing file: mitch.Rmd
inline R code fragments
label: checklibraries (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: peek (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: metrics (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: scatterplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ message : logi FALSE
$ warning : logi FALSE
ordinary text without R code
label: contourplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ warning : logi FALSE
$ message : logi FALSE
Contour plot does not apply to unidimensional analysis.
ordinary text without R code
label: input_geneset_metrics1 (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: input_geneset_metrics2 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
ordinary text without R code
label: input_geneset_metrics3 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ message : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
ordinary text without R code
label: echart1d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
label: echart2d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: heatmap (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 10
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: effectsize (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: results_table (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: results_table_complete (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: detailed_geneset_reports1d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: detailed_geneset_reports2d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 5
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: session_info (with options)
List of 3
$ include: logi TRUE
$ echo : logi TRUE
$ results: chr "markup"
ordinary text without R code
output file: /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.knit.md
/usr/local/bin/pandoc +RTS -K512m -RTS /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpPSEAfo/mitch_report.html --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/latex-div.lua --email-obfuscation none --self-contained --standalone --section-divs --template /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable 'theme:bootstrap' --include-in-header /tmp/RtmpPSEAfo/rmarkdown-str7e1b1f81b9b5.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
Output created: /tmp/RtmpPSEAfo/mitch_report.html
[1] TRUE
>
> test_that("1d works", {
+ expect_equal( length(which(res$enrichment_result$p.adjustANOVA<0.1)) ,1)
+ expect_true(file.info("1d.pdf")$size>10000)
+ expect_true(file.info("1d.html")$size>1000000)
+ })
>
> unlink("1d.html")
> unlink("1d.pdf")
>
>
> # 1d part 2 to make sure that saving files at a different location works
> MYPATH=paste(getwd(),"/1d.html",sep="")
> if (file.exists("1d.html")) { unlink("1d.html") }
> mitch_report(res,MYPATH)
Dataset saved as " /tmp/RtmpPSEAfo/1d.rds ".
processing file: mitch.Rmd
inline R code fragments
label: checklibraries (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: peek (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: metrics (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: scatterplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ message : logi FALSE
$ warning : logi FALSE
ordinary text without R code
label: contourplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ warning : logi FALSE
$ message : logi FALSE
Contour plot does not apply to unidimensional analysis.
ordinary text without R code
label: input_geneset_metrics1 (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: input_geneset_metrics2 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
ordinary text without R code
label: input_geneset_metrics3 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ message : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
ordinary text without R code
label: echart1d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
label: echart2d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: heatmap (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 10
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: effectsize (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: results_table (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: results_table_complete (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: detailed_geneset_reports1d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: detailed_geneset_reports2d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 5
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: session_info (with options)
List of 3
$ include: logi TRUE
$ echo : logi TRUE
$ results: chr "markup"
ordinary text without R code
output file: /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.knit.md
/usr/local/bin/pandoc +RTS -K512m -RTS /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpPSEAfo/mitch_report.html --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/latex-div.lua --email-obfuscation none --self-contained --standalone --section-divs --template /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable 'theme:bootstrap' --include-in-header /tmp/RtmpPSEAfo/rmarkdown-str7e1b7061235d.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
Output created: /tmp/RtmpPSEAfo/mitch_report.html
[1] TRUE
>
> test_that("1d works", {
+ expect_true(file.info("1d.html")$size>1000000)
+ })
>
> unlink("1d.html")
>
>
>
> # 2d
> data(rna,k9a,genesetsExample)
> x<-list("rna"=rna,"k9a"=k9a)
> y<-mitch_import(x,DEtype="edgeR")
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small
p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="2d.pdf")
null device
1
> if (file.exists("2d.html")) { unlink("2d.html") }
> mitch_report(res,"2d.html")
Dataset saved as " /tmp/RtmpPSEAfo/2d.rds ".
processing file: mitch.Rmd
inline R code fragments
label: checklibraries (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: peek (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: metrics (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: scatterplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ message : logi FALSE
$ warning : logi FALSE
ordinary text without R code
label: contourplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ warning : logi FALSE
$ message : logi FALSE
ordinary text without R code
label: input_geneset_metrics1 (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: input_geneset_metrics2 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
ordinary text without R code
label: input_geneset_metrics3 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ message : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
ordinary text without R code
label: echart1d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
label: echart2d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: heatmap (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 10
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: effectsize (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: results_table (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: results_table_complete (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: detailed_geneset_reports1d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: detailed_geneset_reports2d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 5
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: session_info (with options)
List of 3
$ include: logi TRUE
$ echo : logi TRUE
$ results: chr "markup"
ordinary text without R code
output file: /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.knit.md
/usr/local/bin/pandoc +RTS -K512m -RTS /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpPSEAfo/mitch_report.html --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/latex-div.lua --email-obfuscation none --self-contained --standalone --section-divs --template /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable 'theme:bootstrap' --include-in-header /tmp/RtmpPSEAfo/rmarkdown-str7e1b7459cd2f.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
Output created: /tmp/RtmpPSEAfo/mitch_report.html
[1] TRUE
Warning messages:
1: In plot.xy(xy, type, ...) :
semi-transparency is not supported on this device: reported only once per page
2: In doTryCatch(return(expr), name, parentenv, handler) :
semi-transparency is not supported on this device: reported only once per page
3: In doTryCatch(return(expr), name, parentenv, handler) :
semi-transparency is not supported on this device: reported only once per page
4: In doTryCatch(return(expr), name, parentenv, handler) :
semi-transparency is not supported on this device: reported only once per page
5: In doTryCatch(return(expr), name, parentenv, handler) :
semi-transparency is not supported on this device: reported only once per page
6: In doTryCatch(return(expr), name, parentenv, handler) :
semi-transparency is not supported on this device: reported only once per page
7: In doTryCatch(return(expr), name, parentenv, handler) :
semi-transparency is not supported on this device: reported only once per page
>
> test_that("2d works", {
+ expect_equal( length(which(res$enrichment_result$p.adjustMANOVA<0.1)) ,1)
+ expect_true(file.info("2d.pdf")$size>100000)
+ expect_true(file.info("2d.html")$size>1000000)
+ })
>
> unlink("2d.html")
> unlink("2d.pdf")
>
> # 3d
> data(rna,k9a,k36a,genesetsExample)
> x<-list("rna"=rna,"k9a"=k9a,"k36a"=k36a)
> y<-mitch_import(x,DEtype="edgeR")
Note: Mean no. genes in input = 1000
Note: no. genes in output = 1000
Note: estimated proportion of input genes in output = 1
> res<-mitch_calc(y,genesetsExample,cores=2)
Note: When prioritising by significance (ie: small
p-values), large effect sizes might be missed.
> mitch_plots(res,outfile="3d.pdf")
null device
1
> if (file.exists("3d.html")) { unlink("3d.html") }
> mitch_report(res,"3d.html")
Dataset saved as " /tmp/RtmpPSEAfo/3d.rds ".
processing file: mitch.Rmd
inline R code fragments
label: checklibraries (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: peek (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: metrics (with options)
List of 1
$ echo: logi FALSE
ordinary text without R code
label: scatterplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ message : logi FALSE
$ warning : logi FALSE
ordinary text without R code
label: contourplot (with options)
List of 5
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6.5
$ warning : logi FALSE
$ message : logi FALSE
ordinary text without R code
label: input_geneset_metrics1 (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: input_geneset_metrics2 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
ordinary text without R code
label: input_geneset_metrics3 (with options)
List of 5
$ results : chr "asis"
$ echo : logi FALSE
$ message : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
ordinary text without R code
label: echart1d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
label: echart2d (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
No significant enrichments found.
ordinary text without R code
label: heatmap (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 10
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: effectsize (with options)
List of 6
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 7
$ fig.width : num 7
$ fig.show : chr "all"
$ message : logi FALSE
ordinary text without R code
label: results_table (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: results_table_complete (with options)
List of 2
$ results: chr "asis"
$ echo : logi FALSE
ordinary text without R code
label: detailed_geneset_reports1d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 6
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: detailed_geneset_reports2d (with options)
List of 7
$ results : chr "asis"
$ echo : logi FALSE
$ fig.height: num 5
$ fig.width : num 6
$ out.width : chr "80%"
$ comment : logi NA
$ message : logi FALSE
ordinary text without R code
label: session_info (with options)
List of 3
$ include: logi TRUE
$ echo : logi TRUE
$ results: chr "markup"
ordinary text without R code
output file: /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.knit.md
/usr/local/bin/pandoc +RTS -K512m -RTS /Users/biocbuild/bbs-3.11-bioc/meat/mitch.Rcheck/tests/mitch.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output /tmp/RtmpPSEAfo/mitch_report.html --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/pagebreak.lua --lua-filter /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmarkdown/lua/latex-div.lua --email-obfuscation none --self-contained --standalone --section-divs --template /Library/Frameworks/R.framework/Versions/4.0/Resources/library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --variable 'theme:bootstrap' --include-in-header /tmp/RtmpPSEAfo/rmarkdown-str7e1b55e57543.html --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
Output created: /tmp/RtmpPSEAfo/mitch_report.html
[1] TRUE
Warning messages:
1: In grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per page
2: In grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per page
3: In grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per page
4: In grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per page
5: In grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per page
6: In grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per page
7: In grid.Call.graphics(C_points, x$x, x$y, x$pch, x$size) :
semi-transparency is not supported on this device: reported only once per page
>
> test_that("3d works", {
+ expect_equal( length(which(res$enrichment_result$p.adjustMANOVA<0.1)) ,1)
+ expect_true(file.info("3d.pdf")$size>100000)
+ expect_true(file.info("3d.html")$size>1000000)
+ })
>
> unlink("3d.html")
> unlink("3d.pdf")
>
>
>
> proc.time()
user system elapsed
91.549 3.136 96.609