storeylab / ffdr Goto Github PK
View Code? Open in Web Editor NEWFunctional FDR package
License: Other
Functional FDR package
License: Other
Current vignette is extremely out of date (uses entirely different functions and arguments)
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.
The functionality in fFDR is intended to be combined with the qvalue package. Some notes:
estFPi0 currently returns an "fPi0" S4 object; fqvalue function should do the same.
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.
Should include text explaining the caveat with fpi0 that this is the conservative choice (and will still outperform traditional FDR)
This should be last step before passing on to John.
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
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.
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.
Should cover
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
These should examine:
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.
Right now it's just in fpi0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.