Error in DESeqDataSetFromMatrix
1
0
Entering edit mode
@947f0210
Last seen 2.5 years ago
Germany

Hi,

I have been trying to run Deseq2 analysis, but I'm unable to use DESeqDataSetFromMatrix function. I get the following error Error in DESeqDataSetFromMatrix(countData = read_Count, colData = reordered_metaData, : could not find function "DESeqDataSetFromMatrix"

Code should be placed in three backticks as shown below


dds <- DESeqDataSetFromMatrix(countData= read_Count,
                              colData = reordered_metaData,
                              design = ~ 1)

sessionInfo( )
DESeq2 • 1.5k views
ADD COMMENT
1
Entering edit mode
Basti ▴ 780
@7d45153c
Last seen 5 days ago
France

Did you run library(DESeq2) before ?

ADD COMMENT
0
Entering edit mode

yes, I did

ADD REPLY
0
Entering edit mode

My library is not being loaded properly. error: genomicrange package is not there.

I'm unable to install this package even after using this:
if (!require("BiocManager", quietly = TRUE)) install.packages("BiocManager")

BiocManager::install("GenomicRanges")

ADD REPLY
0
Entering edit mode

What ERROR do you get when doing BiocManager::install("GenomicRanges")? Please include the full output of the commands you are trying so we can better assist you.

ADD REPLY
0
Entering edit mode

ERROR: 'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories: CRAN: https://cran.rstudio.com/

Bioconductor version 3.14 (BiocManager 1.30.18), R 4.1.2 (2021-11-01) Warning message: package(s) not installed when version(s) same as current; use force = TRUE to re-install: 'GenomicRanges'


sessionInfo() R version 4.1.2 (2021-11-01) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 [4] LC_NUMERIC=C LC_TIME=English_United States.1252

attached base packages: [1] stats4 stats graphics grDevices utils datasets methods base

other attached packages: [1] GenomeInfoDb_1.30.1 IRanges_2.28.0 S4Vectors_0.32.4 BiocGenerics_0.40.0 BiocManager_1.30.18

loaded via a namespace (and not attached): [1] compiler_4.1.2 tools_4.1.2 GenomeInfoDbData_1.2.7 RCurl_1.98-1.7 bitops_1.0-7

ADD REPLY

Login before adding your answer.

Traffic: 395 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6