if (FALSE) {
## no bias reduction
noReduction =
with(mockRNASeqData,
NBDev(counts, design.matrix, log(estimated.normalization),
estimated.nbdisp, bias.fold.tolerance=Inf)
)
## bias reduction for all genes
allReduction =
with(mockRNASeqData,
NBDev(counts, design.matrix, log(estimated.normalization),
estimated.nbdisp, bias.fold.tolerance=1)
)
## default: bias reduction for genes showing large bias
someReduction =
with(mockRNASeqData,
NBDev(counts, design.matrix, log(estimated.normalization),
estimated.nbdisp, bias.fold.tolerance=1.1)
)
}
Run the code above in your browser using DataLab