[R] Master data frame or so

jim holtman jholtman at gmail.com
Tue May 15 21:30:21 CEST 2012


It sounds like just a simple list object will do what you want.  What
you will have to specify is exactly what you thing the structure might
contain and then how you want to access it, and then possibly how you
want to update it on an ongoing basis.

On Tue, May 15, 2012 at 11:33 AM, I.R. Holtman <I.R.Holtman at med.umcg.nl> wrote:
> Dear sir/madam,
>
> I have been using R for a while now for microarray analysis, and I would
> like to make a "master" data frame in which I can combine information from
> many different sources. The basic list a genelist with 25.000 probes, then I
> would like to have a subcompartment with the statistical information, a
> subcompartment with more extensive information regarding each gene, and then
> the output from several clustering programs, which group a number of genes
> and relate those to a function. In my mind this file looks like:
>
> Genelist: c("ILM1"," ILM2", "ILM3", "ILM4")
> @Statistics
> $p.value (0.01, 0.002, 0.0004, 0.006)
> $fold.change (2, 4,3, 0.5)
> @Moreinfo
> $("HemoglobinA1",  "Myosin1",  "Myosin2", " HemoglobinB1")
> @Functions
> $Blood("X", "", "",  "X")
> $Muscle("", "X", "X","")
>
> I have no idea how to make such a file. I have been reading about matrices,
> data.frames, S4-objects, but I don't know how to do it. Can anyone help me
> with this?
>
> Many thanks in advance!
>
> Kind regards,
> Inge Holtman
>
> ______________________________________________
> 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.



-- 
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.



More information about the R-help mailing list