deg_deseq2 | R Documentation |
Differential expression analysis using DESeq2
deg_deseq2( dt, control_label, control_counts, treatment_lable, treatment_counts, parallel = FALSE, ncores = 1 )
dt |
A data frame, rows are gene expression (counts),columns are sample names; the order of columns must be control samples followed by treatment samples. |
control_label |
A character vector, name for control samples,such as "ctrl". |
control_counts |
A numeric vector, how many samples are control. |
treatment_lable |
A character vector, name for treatment samples,such as "KD"(Knockdown). |
treatment_counts |
A numeric vector, how many samples are treatment. |
parallel |
if FALSE, no parallelization. if TRUE, parallel execution using BiocParallel. |
ncores |
the number of cores for parallelization. |
Return a result dataframe from a DESeq analysis giving base means across samples, log2 fold changes, standard errors, test statistics, p-values and adjusted p-values
res <- deg_deseq2(count_df,control_label="ctrl",control_counts=2,treatment_lable="KD",treatment_counts=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.