[BioC] question about reading data into marray package

Jean Yee Hwa Yang jean at biostat.ucsf.edu
Tue Mar 15 18:42:23 CET 2005


Hi Yanqin,

Assuming you have no header infomration you want to skip, can you try the
following command
strsplit(readLines(fnames[1], n=1), split="\t")

and check if you enter the name of the columns correctly in the argument.

You can also add skip = 0 in the call and see if it works.

Cheers

YH

On Tue, 15 Mar 2005, Yanqin Yang wrote:

> Hello,
>  
> 
> I am trying to read a batch of delimited-tab text files into marray package.
> Somehow I kept getting error message like:  
> 
> >Data=read.marrayRaw(fnames=fnames,name.Rf="Spot Median Intensity Cy5",name.Gf="Spot Median Intensity Cy3",name.Rb="Background Median Intensity Cy5",name.Gb="Background Median Intensity Cy3",gnames="Clone ID",sep="\t")
> 
> 
> Reading ...  ./chip1.txt 
> Reading ...  ./chip2.txt 
> Error in if (skip > 0) readLines(file, skip) : missing value where TRUE/FALSE needed
> 
> 
> Would anyone help me to figure out what my problem is? 
> 
> 
> Thanks a lot! Really appreciate your help!
> 
> Yanqin
> 
>  
>  
> 
> 
> 
> ---------------------------------
> 
> 
> 
> 
> 
> 		
> ---------------------------------
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list