Hello!
I have load my RGList in Limma to start analysis but when I want to apply some functions (for example: plotMA3by2) R shows the error: "Error in E - Eb : non-numeric argument to binary operator".
*Code:
RG <- read.maimages(targets,source="generic",columns=list(R="R_Raw_intensity_mean",
G="G_Raw_intensity_mean",Rb="R_Background_mean",Gb="G_Background_mean"),
annotation=c("Num","meta_row","meta_col","row1","col","Oligo_ID","Gene_symbol",
"Gene_ID","Transcript_ID"),sep=" ")
plotMA3by2(RG, prefix="MA", main=colnames(object),
zero.weights=FALSE, common.lim=TRUE, device="png")
How could I fix this error?
Please, help me...
Thank you!!
Hello Gordon,
Thank you so much for your answer. I know the operation
E-Eb
is for EList object. When I check theclass
it indicates that is a RGList.I typed the code you gave me and this is the response:
Do you see some mistake?
I've been thinking about a possible error in the files I edited... Could be possible??
Thank you!!!
Yes, the problem is obvious from the output. All the entries for R, G, Rb and Gb are character strings instead of numbers.
Is it possible that your original data file is using commas to indicate decimal points (i.e., using continental Europe style) but using a standard version of R that assumes dots for decimal points.