Skip to content

Commit

Permalink
0.99.7
Browse files Browse the repository at this point in the history
example had wrong vale: NcntPer = 10
  • Loading branch information
stefangraw committed Feb 14, 2019
1 parent cabdeed commit 40a316c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pwrEWAS
Title: A user-friendly tool for comprehensive power estimation for epigenome wide association studies (EWAS)
Version: 0.99.6
Version: 0.99.7
Description: pwrEWAS is a user-friendly tool to assists researchers in the design and planning of EWAS to help circumvent under- and overpowered studies.
Author: Stefan Graw
Maintainer: Stefan Graw <sgraw@kumc.edu>
Expand All @@ -16,12 +16,12 @@ Imports:
parallel,
shinyWidgets,
BiocManager,
doSNOW,
limma,
genefilter
Depends:
shinyBS,
foreach,
doSNOW
foreach
Suggests:
knitr,
rmarkdown
Expand Down
2 changes: 1 addition & 1 deletion R/plotFunction_v1.4.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pwrEWAS_powerPlot <- function(data, sd = FALSE){
for(j in 1:dim(data)[3]){
U <- NULL
L <- NULL
if(class(data[,,j]) == "matrix"){
if(is(data[,,j], "matrix")){
dataSlice <- data[,,j]
} else dataSlice <- matrix(data[,,j])

Expand Down
4 changes: 2 additions & 2 deletions R/pwrEWAS_v1.7.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#' pwrEWAS(minTotSampleSize = 10,
#' maxTotSampleSize = 50,
#' SampleSizeSteps = 10,
#' NcntPer = 10,
#' NcntPer = 0.5,
#' targetDelta = c(0.2, 0.5),
#' J = 100000,
#' targetDmCpGs = 100,
Expand All @@ -41,7 +41,7 @@
#' pwrEWAS(minTotSampleSize = 10,
#' maxTotSampleSize = 50,
#' SampleSizeSteps = 10,
#' NcntPer = 10,
#' NcntPer = 0.5,
#' deltaSD = c(0.02, 0.03),
#' J = 100000,
#' targetDmCpGs = 100,
Expand Down
4 changes: 2 additions & 2 deletions man/pwrEWAS.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 40a316c

Please sign in to comment.