[BioC] marrayClassaes

Jean Yee Hwa Yang jean at biostat.ucsf.edu
Mon May 17 17:42:38 CEST 2004


Hi,

read.marrayRaw is design to read data from flat file into R.  If you
already have your data in R as an matrix object, what you can do is the
following:

## The following will only read one array into marrayRaw.
array.raw <- new("marrayRaw", maGf=array[,"F1Median"],
maGb=array[,"B1Median"], maRf=array[,"F2Median", maRb=array[,"B2Median"])

Cheers

Jean

On Mon, 17 May 2004, Maarten Morsink wrote:

> Hi everybody,
> 
> I am trying to get my data into marrayRaw, but it isn't working. I transformed my data into a matrix with the as.matrix() function. I don't know how to use the fnames, so I tried to avoid it and used:
> array.raw<-read.marrayRaw(array,path=".",layout=nieuwearray.layout,name.Gf="F1Median",
> +name.Gb="B1Median",name.Rf="F2Median",name.Rb="B2Median",header=TRUE)
> I got an error message:
> [1] "Reading ./PHECy5"
> Error in file(con, "r") : unable to open connection
> In addition: Warning message: 
> cannot open file `./PHECy5' 
> 
> 
> this is my matrix:
>   ID         F1Median B1Median F2Median B2Median
> 1  "PHECy5"   " 574"   "538"    "1128"   "1095"  
> 2  "HYGRO19"  " 570"   "533"    "1043"   "1119"  
> 3  "SM2229"   " 565"   "558"    "1056"   "1166"  
> 4  "NM021506" " 533"   "569"    "1053"   "1147"  
> 5  "NM019976" " 550"   "568"    "1103"   "1145"  
> 6  "NM019458" " 555"   "561"    "1064"   "1169"  
> 7  "NM010164" " 572"   "570"    "1170"   "1162"  
> 8  "NM009432" " 653"   "569"    "1154"   "1172"  
> 9  "NM009756" " 596"   "598"    "1156"   "1189"  
> 10 "NM010167" " 708"   "663"    "1119"   "1216"  
> 11 "NM019628" "2882"   "609"    "3175"   "1222"  
> 12 "NM008715" " 929"   "618"    "1293"   "1253"  
> 
> 
> Can you please tell me how to use this function correctly, beceause I don't understand the manuals.
> 
> Thanks Janneke
> janneke_zant at hotmail.com
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor
>



More information about the Bioconductor mailing list