Closed:Error while executing "estimateSizeFactors" from DESeq2
1
1
Entering edit mode
5.9 years ago
vkgaur25 ▴ 30

Hi all,

I am using DESeq2 for DE analysis and I want to normalize my read counts on the basis of two calibrator set (their counts) that were used. I am using estimateSizeFactors to give the read counts of calibrators as "controlGenes" so that I can run DESeq2 but when I execute my codes (which are as follows-)

calidata<-read.csv("/Users/pg2597/Desktop/combined/caliisocounts_xyz.csv", header=TRUE, row.names = 1)

mat_data <- data.matrix(calidata)
calibrators <- grepl('cali', rownames(mat_data))
cal <- calibrators
dds_norm <- estimateSizeFactors(mat_data,controlGenes=cal)

I get following error:

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘estimateSizeFactors’ for signature ‘"matrix"’

Can someone help me with this?

Thanks in advance!

DESeq2 software error R • 327 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 1418 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