Skip to content

[Bioc-devel] Res: Bioc-devel Digest, Vol 96, Issue 2Mc0

1 message · jdanielnd at gmail.com

#
C.                                                      Ck km
Enviado pelo meu aparelho BlackBerry? da Vivo

-----Original Message-----
From: bioc-devel-request at r-project.org
Sender: bioc-devel-bounces at r-project.org
Date: Fri, 16 Mar 2012 23:20:20 
To: <bioc-devel at r-project.org>
Reply-To: bioc-devel at r-project.org
Subject: Bioc-devel Digest, Vol 96, Issue 20

Send Bioc-devel mailing list submissions to
	bioc-devel at r-project.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://stat.ethz.ch/mailman/listinfo/bioc-devel
or, via email, send a message with subject or body 'help' to
	bioc-devel-request at r-project.org

You can reach the person managing the list at
	bioc-devel-owner at r-project.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bioc-devel digest..."


Today's Topics:

   1. Re: Alert to developers about changes to edgeR (Nicolas Delhomme)
   2. Re: mapping between original and reduced ranges (Herv? Pag?s)


----------------------------------------------------------------------

Message: 1
Date: Fri, 16 Mar 2012 16:40:57 +0100
From: Nicolas Delhomme <delhomme at embl.de>
To: Gordon K Smyth <smyth at wehi.EDU.AU>
Cc: bioc-devel at r-project.org
Subject: Re: [Bioc-devel] Alert to developers about changes to edgeR
Message-ID: <8411B109-60EC-46F0-A40D-CB584E56E4A1 at embl.de>
Content-Type: text/plain; charset=us-ascii

Dear Gordon,

Thanks for letting us know!

Best,

---------------------------------------------------------------
Nicolas Delhomme

Genome Biology Computational Support

European Molecular Biology Laboratory

Tel: +49 6221 387 8310
Email: nicolas.delhomme at embl.de
Meyerhofstrasse 1 - Postfach 10.2209
69102 Heidelberg, Germany
---------------------------------------------------------------
On 16 Mar 2012, at 03:40, Gordon K Smyth wrote:

            
------------------------------

Message: 2
Date: Fri, 16 Mar 2012 15:20:06 -0700
From: Herv? Pag?s <hpages at fhcrc.org>
To: "Hahne, Florian" <florian.hahne at novartis.com>
Cc: Michael Lawrence <lawrence.michael at gene.com>,
	"bioc-devel at r-project.org" <bioc-devel at r-project.org>
Subject: Re: [Bioc-devel] mapping between original and reduced ranges
Message-ID: <4F63BC96.6080205 at fhcrc.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Florian,
On 03/16/2012 01:02 AM, Hahne, Florian wrote:
Great! Seems like we have an agreement :-) Now I find that putting this
"reverse mapping" in the elementMetadata of the returned object is the
right thing to do. The same can be done with disjoin() where the
reverse mapping is many-to-many. I don't even see the need for an
extra argument to reduce() or disjoin() anymore in order to let the
user choose whether s/he wants the reverse mapping or not. The overhead
should be minimal (the reverse mapping is light and easy to compute).

If nobody objects, I'll put this on my list of things to do for BioC
2.11.
Note that the user will be able to easily do this folding with:

   gr2 <- reduce(gr)
   map <- unlist(revmap(elementMetadata(gr2)$rmap))  # reverse
   split(elementMetadata(gr), map)  # returns a SplitDataFrameList

The man page for reduce() will show how to do this. I'm a little bit
hesitant though to add this as an option to reduce() because of what
I said earlier i.e. the SplitDataFrameList would then need to be stored
in elementMetadata(gr2) as a *single* column with something like:

   elementMetadata(gr2)$foldedOriginalMetadata

... which is a little weird, and only experts would actually know how
to access specific data in this folded thing. But if people want this,
no problem, I'll add it to my list too.

Cheers,
H.