inst/unitTests/test_vst.R

test_vst <- function() {
  dds <- makeExampleDESeqDataSet(n=100, m=4)
  design(dds) <- ~ 1
  dds <- estimateSizeFactors(dds)
  dds <- estimateDispersionsGeneEst(dds)
  dds <- estimateDispersionsFit(dds, fitType="parametric")
  vsd <- varianceStabilizingTransformation(dds, blind=FALSE)
  dds <- estimateDispersionsFit(dds, fitType="local")
  vsd <- varianceStabilizingTransformation(dds, blind=FALSE)
  dds <- estimateDispersionsFit(dds, fitType="mean")
  vsd <- varianceStabilizingTransformation(dds, blind=FALSE)  
}
aghozlane/DESeq2shaman documentation built on Nov. 1, 2019, 9:01 p.m.