| DA.bay | R Documentation |
Implementation of baySeq for DAtest
DA.bay(data, predictor, allResults = FALSE, ...)
data |
Either a matrix with counts/abundances, OR a |
predictor |
The predictor of interest. Factor, OR if |
allResults |
If TRUE will return raw results from the |
... |
Additional arguments to the |
A data.frame with with results.
# Creating random count_table and predictor
set.seed(4)
mat <- matrix(rnbinom(100, size = 0.1, mu = 500), nrow = 50, ncol = 10)
rownames(mat) <- 1:50
pred <- c(rep("Control", 5), rep("Treatment", 5))
# Running baySeq
res <- DA.bay(data = mat, predictor = pred)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.