Re: [R] problem extracting data from a set of list vectors

2012-04-19 Thread MacQueen, Don
ttr(*, "dimnames")=List of 2 >> .. ..$ : chr [1:6] "Callus" "Callus" "Callus" "Explant" ... >> .. ..$ : chr [1:2] "Intercept" "Callus-Explant" >> $ beta0: num [1:2] NA 0 >> $ beta.hat

Re: [R] problem extracting data from a set of list vectors

2012-04-19 Thread jim holtman
"Explant" ... >  .. ..$ : chr [1:2] "Intercept" "Callus-Explant" >  $ beta0        : num [1:2] NA 0 >  $ beta.hat     : num [1:39009, 1:2] NA -10.13 -9.65 -13 -12.2 ... >  $ beta.tilde   : num [1:39009, 1:2] NA -10.26 -9.74 -13.11 -12.33 ... >  $ e            : num [1:39009] NA 35.08 58.82 2.03 4

Re: [R] problem extracting data from a set of list vectors

2012-04-19 Thread Vining, Kelly
009] NA 35.08 58.82 2.03 4.43 ... $ e1 : num [1:39009] NA 30.23 53.77 1.78 3.89 ... $ e2 : num [1:39009] NA 39.83 64.46 2.27 5.01 ... $ log.fc : num [1:39009] NA 0.398 0.262 0.353 0.366 ... $ p.values : num [1:39009] NA 0.246 0.33 0.748 0.645 ... $ q.values : nu

Re: [R] problem extracting data from a set of list vectors

2012-04-18 Thread MacQueen, Don
Try this (NOT tested) or something similar: all.comps <- ls(pattern="^res") for(i in all.comps) { obj <- all.comops[[i]] gene.ids <- rownames(obj$counts) x <- data.frame(gene.ids = gene.ids, obj$counts, obj$e1, obj$e2, obj$log.fc, obj$p.value, obj$q.value) x <-

Re: [R] problem extracting data from a set of list vectors

2012-04-18 Thread Vining, Kelly
9009] NA 39.83 64.46 2.27 5.01 ... $ log.fc : num [1:39009] NA 0.398 0.262 0.353 0.366 ... $ p.values : num [1:39009] NA 0.246 0.33 0.748 0.645 ... $ q.values : num [1:39009] NA 1 1 1 1 1 1 1 1 1 ... ___ From: Milan Bouchet-Valat [nalimi...@club.

Re: [R] problem extracting data from a set of list vectors

2012-04-18 Thread Milan Bouchet-Valat
Le mercredi 18 avril 2012 à 13:13 -0700, Vining, Kelly a écrit : > Dear useRs, > > A colleague has sent me several batches of output I need to process, and I'm > struggling with the format to the point that I don't even know how to extract > a test set to upload here. My apologies, but I think t