test_differential_abundance | R Documentation |
test_differential_abundance() takes as imput a 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> | and returns a 'tbl' with additional columns for the statistics from the hypothesis test.
test_differential_abundance(.data, .formula, significance_threshold = 0.05)
.data |
A 'tbl' formatted as | <SAMPLE> | <TRANSCRIPT> | <COUNT> | <...> | |
.formula |
A formula with no response variable, representing the desired linear model |
significance_threshold |
A real between 0 and 1 (usually 0.05). |
.sample |
The name of the sample column |
.transcript |
The name of the transcript/gene column |
.abundance |
The name of the transcript/gene abundance column |
action |
A character string. Whether to join the new information to the input tbl (add), or just get the non-redundant tbl with the new information (get). |
experimental
At the moment this function uses edgeR only, but other inference algorithms will be added in the near future.
A 'tbl' with additional columns for the statistics from the hypothesis test (e.g., log fold change, p-value and false discovery rate).
test_differential_abundance( ~ condition, sample, transcript, `count` )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.