diff_da | R Documentation |
Difference analysis
diff_da(
otutab,
group_df,
ctrl = NULL,
method = "deseq2",
log = TRUE,
add_mini = NULL,
...
)
otutab |
otutab |
group_df |
a dataframe with rowname same to dist and one group column |
ctrl |
the control group, one level of groups |
method |
one of "deseq2","edger","limma","t.test","wilcox.test" |
log |
do log transfer for limma? |
add_mini |
add_mini when calculate the logFC. e.g (10+0.1)/(0+0.1), default |
... |
other parameters |
a dataframe
if (requireNamespace("limma")) {
data(otutab, package = "pcutils")
diff_da(otutab, metadata["Group"], method = "limma") -> res
volcano_p(res)
volcano_p(res, mode = 2)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.