[BioC] Random Matrices
Sean Davis
sdavis2 at mail.nih.gov
Thu Apr 3 21:21:04 CEST 2008
On Thu, Apr 3, 2008 at 3:06 PM, Matthew R. Helmus <mrhelmus at wisc.edu> wrote:
> Hi,
> Does anyone know of an R function, code, or extension that makes and
> stores multiple randomizations of a data matrix quickly? Specifically, a
> function that maintains the sums of columns (samples), or rows (genes),
> or both. Those functions I have found are slow for large data matrices.
Hi, Matt.
You'll probably want to give us some code or at least more of a
description of what you are trying to do. That said, sample() is
useful for doing resampling. colSums() and rowSums() are optimized
for just those computations.
Sean
More information about the Bioconductor
mailing list