knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

SUCCOTASH: Surrogate and Confounder Correction Occuring Together with Adaptive Shrinkage

Build Status

This package is no longer maintained.

Please see the mouthwash function in the R package vicar.

Description

Let

Y = XB + ZA + E,

for

Not accounting for the hidden covariates, Z, can reduce power and result in poor control of false discovery rate.

succotashr fits this model under a two-step empirical Bayesian approach. It places a non-parametric prior on B and jointly estimates B and ZA. The main function is succotash.

Installation

To install, run the following code in R:

install.packages(c("devtools", "SQUAREM"))
devtools::install_github("stephens999/ashr")
devtools::install_github("dcgerard/vicar")
devtools::install_github("dcgerard/succotashr")

The following packages are suggested:

install.packages("cate")
source("https://bioconductor.org/biocLite.R")
biocLite(c("limma", "sva"))


dcgerard/succotashr documentation built on May 15, 2019, 1:25 a.m.