LIMMA
1
0
Entering edit mode
@daniel-fortin-4506
Last seen 10.4 years ago
I have a problem when running LIMMA. I get the following error message: Error in grep(protectMetachar(allcnames[i]), text.to.search) : regular expression is invalid in this locale Calls: read.maimages -> read.columns -> grep The code is below: > library(limma) > > targets <-readTargets(file="Targets.txt") > RG <-read.maimages(targets$Filename, source="genepix",wt.fun=wtflags(weight=0,cutoff=-50)) Does anyone know how to fix this error? Thanks, D
limma limma • 744 views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 4 months ago
EMBL European Molecular Biology Laborat…
Dear Daniel Daniel Fortin scripsit 23/02/11 00:50: > I have a problem when running LIMMA. I get the following error message: > Error in grep(protectMetachar(allcnames[i]), text.to.search) : > regular expression is invalid in this locale > Calls: read.maimages -> read.columns -> grep > > The code is below: > >> library(limma) >> >> targets<-readTargets(file="Targets.txt") >> RG<-read.maimages(targets$Filename, source="genepix",wt.fun=wtflags(weight=0,cutoff=-50)) > > Does anyone know how to fix this error? Likely your file Targets.txt (in particular, the column headers) contains special characters that upset grep. I'd try editing it and throwing out any characters that are not alphanumeric. If that does not help, please provide the output of sessionInfo() and the content of the file "Targets.txt". Best wishes Wolfgang Wolfgang Huber EMBL http://www.embl.de/research/units/genome_biology/huber
ADD COMMENT

Login before adding your answer.

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