This is a test version of Biostars. For the public version, visit https://www.biostars.org.
DESeq2 problem "DESeqDataSetFromMatrix function"

I have a problem with DESeq2 function DESeqDataSetFromMatrix:

library(DESeq2)
library(ggplot2)

countData <- read.csv('file.csv', header = TRUE, sep = ",")
head(countData)

metaData <- read.csv('file_meta.csv', header = TRUE, sep = ",")
metaData

dds <- DESeqDataSetFromMatrix(countData=countData, 
                              colData=metaData, 
                              design=~Treatment, tidy = TRUE)

and after the last one I have got the response:

"Error in DESeqDataSetFromMatrix(countData = countData, colData = colData, : could not find function "DESeqDataSetFromMatrix"

Do you know what is wrong? Could you help me?

r

1 answer

What is the output of library(DESeq2) ?

Is it loading without any error ?

Log in to answer this question.