exploreDDS.Rd
Convenience wrapper function to transform raw read counts using
the DESeq2::DESeq2-package()
package transformations methods. The input
file has to contain all the genes, not just differentially expressed ones.
exploreDDS( countMatrix, targets, cmp = cmp[[1]], preFilter = NULL, transformationMethod = "raw", blind = TRUE )
countMatrix |
|
---|---|
targets | targets |
cmp |
|
preFilter | allows removing rows in which there are very few reads.
Accepts a numeric value with the minimum of total reads to keep. Default is
|
transformationMethod | a |
blind | logical, whether to blind the transformation to the experimental
design (see varianceStabilizingTransformation),
from |
returns an object of class DESeq2::DESeqTransform()
.
Note that the recommendation is to use the resulting transformed
values in the transformationMethod
argument only for visualization and
clustering, not for differential expression analysis which needs raw counts.
Users are strongly encouraged to consult the DESeq2::DESeq2-package()
vignette for
more detailed information on this topic and how to properly run DESeq2
on
data sets with more complex experimental designs.
For more details on DESeq2
, please consult the following
page:
DESeq2.
For more details on targets
file definition, please consult the following
page:
systemPipeR.
Daniela Cassol
## Targets file targetspath <- system.file("extdata", "targets.txt", package = "systemPipeR") targets <- read.delim(targetspath, comment = "#") cmp <- systemPipeR::readComp(file = targetspath, format = "matrix", delim = "-") ## Count table file countMatrixPath <- system.file("extdata", "countDFeByg.xls", package = "systemPipeR") countMatrix <- read.delim(countMatrixPath, row.names = 1) ## Run exploredds <- exploreDDS(countMatrix, targets, cmp = cmp[[1]], preFilter = NULL, transformationMethod = "raw" ) exploredds#> class: DESeqDataSet #> dim: 116 18 #> metadata(1): version #> assays(1): counts #> rownames(116): AT1G01010 AT1G01020 ... ATMG00180 ATMG00200 #> rowData names(0): #> colnames(18): M1A M1B ... V12A V12B #> colData names(1): condition