I have problems installing DESeq2 using R4.0.4. It tells me that it is not available for my version of R.
Does anyone have an idea how to fix this?
```r
BiocManager::install("DESeq2") Bioconductor version 3.12 (BiocManager 1.30.10), R 4.0.4 (2021-02-15) Installing package(s) 'DESeq2' trying URL 'https://bioconductor.org/packages/3.12/bioc/bin/windows/contrib/4.0/DESeq2_1.30.1.zip' Content type 'application/zip' length 2863628 bytes (2.7 MB) downloaded 2.7 MB
package ‘DESeq2’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\klutj\AppData\Local\Temp\RtmpQdBLm4\downloaded_packages
install.packages("DESeq2") Installing package into ‘C:/Users/klutj/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘DESeq2’ is not available for this version of R
A version of this package for your version of R might be available elsewhere, see the ideas at https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
Thanks for the quick reply
But when i want to writhe the code ''dds_wt <- DESeqDataSetFromMatrix(countData = wt_rawcounts, colData = reordered_smoc_metadata, design = ~ condition)
It replies with
Error in DESeqDataSetFromMatrix(countData = wt_rawcounts, colData = reordered_smoc_metadata, : could not find function "DESeqDataSetFromMatrix"
I'd recommend starting with a workflow and don't skip any lines.
https://www.bioconductor.org/packages/devel/workflows/vignettes/rnaseqGene/inst/doc/rnaseqGene.html#the-deseqdataset-object-sample-information-and-the-design-formula
Or the vignette...