DA.anova | R Documentation |
anova
on all features from DAtest
results with allResults = TRUE
Works on "lrm", "llm", "llm2", "lma", "lmc". Non-paired "neb"
DA.anova(results, p.adj = "fdr", ...)
results |
Output from a |
p.adj |
P-value adjustment method. See |
... |
Additional arguments for |
A data.frame with output from anova and adjusted p.values for each predictor and feature
# Creating random count_table, predictor, and covariate set.seed(5) mat <- matrix(rnbinom(1500, size = 0.5, mu = 500), nrow = 100, ncol = 15) rownames(mat) <- 1:100 pred <- c(rep("A", 5), rep("B", 5), rep("C", 5)) covar <- rnorm(15) # Running linear model and then anova on each feature res <- DA.lmc(mat, pred, covars = list(Something = covar), allResults = TRUE) res.ano <- DA.anova(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.