DA.msf | R Documentation |
Implemented as in: https://microbiomejournal.biomedcentral.com/articles/10.1186/s40168-016-0208-8
DA.msf(data, predictor, p.adj = "fdr", allResults = FALSE, ...)
data |
Either a matrix with counts/abundances, OR a |
predictor |
The predictor of interest. Factor, OR if |
p.adj |
Character. P-value adjustment. Default "fdr". See |
allResults |
If TRUE will return raw results from the |
... |
Additional arguments for the |
A data.frame with with results.
# Creating random count_table and predictor set.seed(4) mat <- matrix(rnbinom(1000, size = 0.1, mu = 500), nrow = 100, ncol = 10) rownames(mat) <- 1:100 pred <- c(rep("Control", 5), rep("Treatment", 5)) # Running MetagenomeSeq feature model res <- DA.msf(data = mat, predictor = pred)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.