Description Usage Arguments Value See Also Examples
View source: R/differential-expression.R
This function is designed to ingest data in the form output by functions like
get_bw_data()
.
1 2 3 4 5 6 7 8 9 10 11 |
data |
A data frame where rows are samples and columns are genes and metadata. |
condition |
A string. The name of the column in |
batch |
A string. The name of the column in |
genes |
A character vector. The column names that contain the genes for
the differential expression. If |
shrink |
A flag. If |
padj_method |
A string. The method of adjusting the p-values for
multiple hypothesis testing. Must be one of |
quick |
A flag. If |
n_cores |
The number of cores for parallel processing. |
quiet |
A flag. Suppresses messages. |
A tibble with 8 columns:
gene
: The gene name.
log2fc
: The log2 fold-change between case and control.
pvalue
: The p-value for that gene being differentially expressed.
padj
: Adjusted p-values.
base_med
: The median raw value for the baseline samples.
case_med
: The median raw value for the case samples.
base_mean
: The mean raw value for the baseline samples.
case_mean
: The mean raw value for the case samples.
Other differential expression methods:
cor_de()
,
edger()
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.