[R] [Fwd: loading SPOT file]

Martin Morgan mtmorgan at fhcrc.org
Wed May 6 18:40:02 CEST 2009


Hi Barbara  -- ask on the Bioconductor mailing list.

   http://bioconductor.org/docs/mailList.html

Include the output of the command sessionInfo() after the failure. Be 
sure to update to a current version of R / Bioconductor, for the latter 
following 'Update installed Bioconductor packages' at

   http://bioconductor.org/docs/install

Martin

Barbara Cegielska wrote:
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> loading SPOT file
> From:
> Barbara Cegielska <barceg at ibch.poznan.pl>
> Date:
> Wed, 06 May 2009 16:48:35 +0200
> To:
> r-help-bounces at r-project.org
> 
> To:
> r-help-bounces at r-project.org
> 
> 
> I have problem with loading SPOT files.
> 
> Sample of my operations in R object
> 
>  > fromfile=TRUE
>  > fext="spot"
>  > rawboxplot=TRUE
>  > flagi="Flags"
>  >
>  > f<-function(x) as.numeric(x$Flags > -99)
>  > targets<-readTargets("ApoAITargets.txt")
>  >
>  > if (fromfile){
> + files<-dir(pattern=fext)
> + } else {
> + dane.maTargets<-read.marrayInfo(filename=targets)
> + phenoData<-read.AnnotatedDataFrame(filename=targets)
> + files<-targets$FileName
> + }
>  >
>  >
>  > RG <- readSpot(files, as.is = TRUE, galfile="ApoAI.gal", DEBUG=FALSE, 
> skip=-1,  quote = "\"",
> + fill = TRUE)
> Error in readLines(f, n = skip + 1) : invalid 'n' argument
> 
> I would like to loead Apo.AI data from: 
> http://bioinf.wehi.edu.au/limmaGUI/DataSets.html
> 
> Thank you in advance.
> 
> Regards,
> B.
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


-- 
Martin Morgan
Computational Biology / Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N.
PO Box 19024 Seattle, WA 98109

Location: Arnold Building M1 B861
Phone: (206) 667-2793




More information about the R-help mailing list