View source: R/deseq_from_tibble.R
deseq_from_tibble | R Documentation |
Creates DESeqDataSet object using count and sample tibbles as input and optionally runs DESeq
deseq_from_tibble(counts, samples, run_deseq = TRUE, minReplicates = 7, ...)
counts |
a count table with feature ids in row 1 |
samples |
a sample table with names matching count table column names in row 1 |
run_deseq |
Run |
minReplicates |
minimum number of replicates required in order to use replaceOutliers on a sample, default 7. |
... |
additional options like the design formula are passed to |
A DESeqDataSet object
This function first runs sort_counts
to check and
reorder count columns by the first column in samples, and then DESeqDataSetFromMatrix
and optionally DESeq
. To match DESeq2 versions < 1.16, set run_deseq = FALSE and then
run DESeq(dds, betaPrior =TRUE)
'
Chris Stubben
## Not run:
deseq_from_tibble(counts, samples, design = ~ trt)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.