Entering edit mode
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( )
yes, I did
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")
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.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'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