This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env R | |
# Author: Sean Maden | |
# | |
# *** Description *** | |
# This is a sligthly modified form of the pwrEWAS power analysis function from the pwrEWAS R package. | |
# | |
# Source this function from an active R session using: | |
# > devtools::source_gist("https://gist.github.com/metamaden/953b128c230e32ef1beecbc2695e93c1") | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env R | |
# Author: Sean Maden | |
# | |
# Query and load the cellScaleFactors data table from Bioconductor's ExperimentHub. | |
# | |
# ExperimentHub/GH repo for cellScaleFactors: https://github.com/metamaden/cellScaleFactors | |
# | |
library(ExperimentHub) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env R | |
# Author: Sean Maden | |
# | |
# Simulate Poisson and Negative Binomial distributions, plotting the point | |
# values and mean-variance relationships. | |
# | |
# load dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
# Author: Sean Maden | |
# | |
# Script to install, build, and check R packages during development. Can perform | |
# one of 3 check types (R CHECK with and without '--as-cran', or BiocCheck). | |
# | |
# Flags: | |
# -v : Build vignettes (otherwise use `... --no-build-vignettes`) | |
# -r : Run `R CMD CHECK ...` |