error in import.exon.scheme, XPS package
1
0
Entering edit mode
Lisa Mu ▴ 10
@lisa-mu-4013
Last seen 9.6 years ago
Dear Christian: I am new to XPS and following your paper on comparing XPS with APT. I used the listed code to create scheme object: Scheme.HuEx10stv2r2.na27=import.exon.scheme( filename = "Scheme_HuEx10stv2r2_na27", filedir = scmdir, layoutfile = paste(libdir, "HuEx-1_0-st-v2.r2.clf", sep = "\\"), schemefile = paste(libdir, "HuEx-1_0-st-v2.r2.pgf", sep = "\\"), probeset = paste(anndir, "HuEx-1_0-st-na27.hg18.probeset.csv", sep = "\\"), transcript = paste(anndir, "HuEx-1_0-st-v2.na27.hg18.transcript.csv", sep = "\\"), add.mask=FALSE , verbose=TRUE ) And I got error message : Error in import.exon.scheme(filename = "Scheme_HuEx10stv2r2_na27", filedir = scmdir, : error in function ‘ImportExonSchemes’ I am wondering whether you could give any suggestion on this. Thanks a lot. Lisa [[alternative HTML version deleted]]
xps xps • 918 views
ADD COMMENT
0
Entering edit mode
cstrato ★ 3.9k
@cstrato-908
Last seen 5.5 years ago
Austria
Dear Lisa, Could you please supply the sessionInfo() and the ROOT version you use? From your code I assume that you are using WinXP. I am not sure if paste(...,sep="\\") is allowed, thus could you please try paste(...,sep="/") and: libdir <- "C:/home/pathto/Affy/libraryfiles" anndir <- "C:/home/pathto/Affy/Annotation" etc From within R it is not necessary to use "\" on WinXP, you can use "/" as on Unix. Could you please run the code again from RTerm and send me the complete output. Best regards Christian Lisa Mu wrote: > Dear Christian: > > I am new to XPS and following your paper on comparing XPS with APT. > > I used the listed code to create scheme object: > > Scheme.HuEx10stv2r2.na27=import.exon.scheme( filename = > "Scheme_HuEx10stv2r2_na27", > > filedir = scmdir, > > layoutfile = paste(libdir, "HuEx-1_0-st-v2.r2.clf", sep = "\\"), > > schemefile = paste(libdir, "HuEx-1_0-st-v2.r2.pgf", sep = "\\"), > > probeset = paste(anndir, "HuEx-1_0-st-na27.hg18.probeset.csv", sep = > "\\"), > > transcript = paste(anndir, "HuEx- 1_0-st-v2.na27.hg18.transcript.csv", sep = > "\\"), > > add.mask=FALSE , > > verbose=TRUE ) > > And I got error message : Error in import.exon.scheme(filename = > "Scheme_HuEx10stv2r2_na27", filedir = scmdir, : > error in function ?ImportExonSchemes? > > I am wondering whether you could give any suggestion on this. > > Thanks a lot. > > Lisa > > [[alternative HTML version deleted]] > > > -------------------------------------------------------------------- ---- > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT
0
Entering edit mode
Don't use paste() to create you pathnames. Instead, use file.path(), which takes care of all this for you. /Henrik On Thu, Apr 8, 2010 at 8:28 PM, cstrato <cstrato at="" aon.at=""> wrote: > Dear Lisa, > > Could you please supply the sessionInfo() and the ROOT version you use? > > From your code I assume that you are using WinXP. > > I am not sure if paste(...,sep="\\") is allowed, thus could you please try > paste(...,sep="/") and: > libdir <- "C:/home/pathto/Affy/libraryfiles" > anndir <- "C:/home/pathto/Affy/Annotation" > etc > From within R it is not necessary to use "\" on WinXP, you can use "/" as on > Unix. > > Could you please run the code again from RTerm and send me the complete > output. > > Best regards > Christian > > > Lisa Mu wrote: >> >> Dear Christian: >> >> I am new to XPS and ?following your paper on comparing XPS with APT. >> >> I used the listed code to create scheme object: >> >> Scheme.HuEx10stv2r2.na27=import.exon.scheme( filename ? = >> "Scheme_HuEx10stv2r2_na27", >> >> ?filedir ? ?= scmdir, >> >> layoutfile = paste(libdir, "HuEx-1_0-st-v2.r2.clf", sep = "\\"), >> >> schemefile = paste(libdir, "HuEx-1_0-st-v2.r2.pgf", sep = "\\"), >> >> ?probeset ? = paste(anndir, "HuEx-1_0-st-na27.hg18.probeset.csv", sep = >> "\\"), >> >> ?transcript = paste(anndir, "HuEx- 1_0-st-v2.na27.hg18.transcript.csv", sep >> = >> "\\"), >> >> add.mask=FALSE , >> >> verbose=TRUE ?) >> >> And I got error message : ? Error in import.exon.scheme(filename = >> "Scheme_HuEx10stv2r2_na27", filedir = scmdir, ?: >> ?error in function ?ImportExonSchemes? >> >> I am wondering whether you could give any suggestion on this. >> >> Thanks a lot. >> >> Lisa >> >> ? ? ? ?[[alternative HTML version deleted]] >> >> ?------------------------------------------------------------------ ------ >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: > http://news.gmane.org/gmane.science.biology.informatics.conductor >
ADD REPLY

Login before adding your answer.

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