Like rowAvgsPerColSet(), but where S is list so that subsets can be of different lengths. Might
restrict FUN to be support cols and rows arguments to promote efficient computation.
See minfi:::.cpgCollapse() and bsseq:::.collapseMatrixLike() for use cases.
Like
rowAvgsPerColSet(), but whereSis list so that subsets can be of different lengths. Mightrestrict
FUNto be supportcolsandrowsarguments to promote efficient computation.See
minfi:::.cpgCollapse()andbsseq:::.collapseMatrixLike()for use cases.