Hi guys,

We often need to iterate over the cartesian product of two dimensions, like
sample X chromosome. This is preferable to nested iteration, which is
complicated. I've been using expand.grid and bpmapply for this, but it
seems like this could be made easier. Like bpmapply could gain a CARTESIAN
argument with a list of arguments to multiply? But somehow you would want
the resuls combined in a way that does not require generating the product
manually. Maybe a list of lists? We need to think more about the
combination step, in general.

Michael

        [[alternative HTML version deleted]]

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to