One last comment: add sep="," to the read.csv assignment, to avoid "Error in
scan(file ... : scan() expected 'a real', got" -type errors:
x<-matrix(scan("/home/victoria/R/5.3.2.2.csv",n=5*12,sep=","),5,12,byrow=TRUE)
--
View this message in context:
http://r.789695.n4.nabble.com/Entering-data-
Update:
1. Here is a better illustration. I assumed that the gene expression was
the same for the three replicates for each gene, in the respective Time and
Treatment groups, so that I could follow (verify) what was going on.
2. To better-view the following, copy and paste into a plain-text edit
Solution: I figured this out on my own (below).
> gnames<-read.csv("/home/victoria/R/gnames.csv",header=FALSE,sep=",")
> gnames
V1V2V3V4V5 V6V7
1 NM_005588 NM_004407 NM_006136 NM_004817 NM_006012 NM_001008693 NM_181435
[snip]
V497
I am trying to replicate the script, appended below. My data is in OOCalc
files. The script (below) synthesizes a dataset (it serves as a
"tutorial"), but I will need to get my data from OOCalc into R for use in
that script (which uses arrays).
I've worked my way through the script, and understa
Hello: I am a novice R user, but I have been working my way through the
manuals / tutorials, ... I have R / Deducer up and running, and know the
basics.
I want to analyze a microarray (gene expression) dataset.
I need to input the data into R as a multidimensional (multi-way) array,
something on
5 matches
Mail list logo