On Mon, Feb 20, 2012 at 10:36 AM, Steve Lianoglou <
mailinglist.honeypot@gmail.com> wrote:

> Hi Tim,
>
> These functions are quite handy ... definitely going to poach them.
>


I wonder if we should keep poaching these in the wild or if Bioc Core will
ever bow to popular pressure and allow their inclusion in the base
packages? ;-)


> Also ... you need an editor with better code folding support ;-)
>
> Pual,
>
> Aslo, to do what you want to do, namely:
>
> >
> extra.blank<-matrix(data=NA,nrow=length(a.grs),ncol=length(missing.meta.cols))
> > old.meta<-as.data.frame(values(a.grs))
> > new.meta<-cbind(old.meta,extra.blank)
> > values(a.grs)<-new.meta
>
> Using vanilla GenomicRanges functionality, you just do this:
>
> R> values(a.grs) <- cbind(values(a.grs), DataFrame(extra.blank))
>
> HTH,
>
> -steve
>
> --
> Steve Lianoglou
> Graduate Student: Computational Systems Biology
>  | Memorial Sloan-Kettering Cancer Center
>  | Weill Medical College of Cornell University
> Contact Info: http://cbio.mskcc.org/~lianos/contact
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor@r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor
>

	[[alternative HTML version deleted]]

