Skip to content
Prev 16097 / 21307 Next

[Bioc-devel] New SE or new assay in SE?

Just after I pressed the "Send" button I realized that by returning a 
new SE object you probably meant returning an SE object with only the 
new assay in it. I would favor the other option i.e. 'doProcess(se)' 
adds a new assay to 'se'. I think that's what most workflows based on SE 
objects do.

This doesn't mean that you can't provide a lower-level function that 
returns the transformed data in a "naked" matrix (i.e. not wrapped 
inside an SE). This let's the (more advanced) user decide what they want 
to do with it e.g. they can add it to the original SE:

     assay(se, "normalized") <- normalized_data

or wrap it in its own new SE:

     normalized <- SummarizedExperiment(list(normalized=normalized_data))

H.
On 1/29/20 08:29, Pages, Herve wrote: