Hi friends,
I'm analyzing an affymetrix array data, however during normalization step, I faced the error with both affy and oligo. I used the bellow code
x <- read.table('data.txt',header = TRUE, sep = '\t', stringsAsFactors = FALSE, fill=TRUE)
probes <- x$ID_REF
x <- data.matrix(x[,2:ncol(x)])
rownames(x) <- probes
exp <-affy::rma(x)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘probeNames’ for signature ‘"matrix"’
exp <-oligo::rma(x)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘rma’ for signature ‘"matrix"’
Here is the head of data:
> head(x[,1:4])
GSM11158 GSM11159 GSM11160 GSM11161
A01157cds_s_at 573.85 461.88 496.66 540.91
A03913cds_s_at 1393.33 1348.11 1512.08 1750.25
A04674cds_s_at 846.13 924.19 964.13 1002.45
A07543cds_s_at 553.83 391.08 537.27 543.64
A09811cds_s_at 980.42 1054.19 1141.65 1214.16
A16585cds_s_at 665.35 678.20 706.09 784.31
Could you please help me out how to solve the issue?
Thanks