could not find function "DESeqDataSetFromMatrix
1
0
Entering edit mode
@dastjerdi1974-16288
Last seen 5.8 years ago

I installed DESeq packages, however when I try to to execute " cds <- DESeqDataSetFromMatrix(counts, colData, design=~group)" it  says that " Error in DESeqDataSetFromMatrix(counts, colData, design = ~group) : 
  could not find function "DESeqDataSetFromMatrix". Could you please say what is the problem.

 

 

 

deseq2 • 8.2k views
ADD COMMENT
1
Entering edit mode
Axel Klenk ★ 1.0k
@axel-klenk-3224
Last seen 14 hours ago
UPF, Barcelona, Spain

Dear Dastjerdi,

as you don't show us the complete code you have used, I need to ask:

have you loaded the package before use, e.g.

library("DESeq2")

?library

HTH.

ADD COMMENT
0
Entering edit mode

I installed the packages. after typing library ( DESeq2) , I see the following messages in the console;

Attaching package: ‘S4Vectors’

The following object is masked from ‘package:base’:

    expand.grid

Loading required package: IRanges
Loading required package: GenomicRanges
Loading required package: GenomeInfoDb
Error: package or namespace load failed for ‘GenomeInfoDb’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 there is no package called ‘GenomeInfoDbData’
Error: package ‘GenomeInfoDb’ could not be loaded
In addition: Warning message:
R graphics engine version 12 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed. 

ADD REPLY
0
Entering edit mode

You will have to reinstall any pkg that it says cannot be loaded.

ADD REPLY

Login before adding your answer.

Traffic: 868 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