GithubHelp home page GithubHelp logo

ffdr's People

Contributors

dgrtwo avatar jdstorey avatar shackett avatar xiongzhichen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

guhjy

ffdr's Issues

Write vignette

Current vignette is extremely out of date (uses entirely different functions and arguments)

Handle TEST warnings

There are still warnings (mostly small stuff) when R CMD TEST is run on the package; needs to be handled before it is merged with qvalue.

Merge with qvalue package

The functionality in fFDR is intended to be combined with the qvalue package. Some notes:

  • This should be done only when/if qvalue is converted to S4 and unit tests are added
  • One package can contain multiple vignettes, which means there will be a separate vignette for the use of fqvalue as opposed to qvalue
  • This will likely be done on a branch of qvalue in the private repository

Implement monotonic smoothing approach

While my initial approach to monotonic smoothing in 2d was to estimate a square grid and perform isotonic regression on each, I've found this does not play nicely with locfit's 2d density estimation (there are consistent and dangerous artifacts produced). Not enforcing any kind of monotonicity can lead to weird behavior where large p-values are accepted and low ones rejected.

plotting functions

library(fFDR)
ttests_example <- simulate_t_tests(m = 2000)
p.value <- ttests_example$p.value
z <- ttests_example$n
fq <- fqvalue(p.value, z)
p <- plot(fq)
grid::grid.draw(p)

Need to use grid::grid.draw . Not sure if by design. Also, plotting functions are not mentioned in vignette

Write .Rd examples for each function

Some fFDR functions don't have examples, some do for deprecated versions of the function that no longer work. All exported functions need to have at least one line of example code.

Set up S4 simulation functions

Simulations are currently a mix of regular data.table objects and S3 functions. Need to set them up to be S4 compatible; is important both for the package itself and for demonstrations in the manuscript.

Failed installation

Hello,

I am new to R but wanted to try this package. I have received the following error using R studio 12 on the most updated current R version:

Warning messages:
1: package ‘qvalue’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
2: In i.p(...) :
installation of package ‘C:/Users/eliav/AppData/Local/Temp/RtmpSMAaOE/file33083a57e5a/fFDR_0.1.tar.gz’ had non-zero exit status

Any pointer would be greatly appreciated!
Thanks
E

Add local FDR simulations to manuscript

These should examine:

  • Multiple # of hypotheses m
  • Multiple pi0 values
  • Multiple sample standard deviations (affects power)
  • Large number of replications (done on cluster), each with same chosen mu

Note that issues with the "manuscript" label serve as a personal to-do list for the manuscript (which is not actually on GitHub), not the software.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.