PeteHaitch / cometh

An R package with tools for analysing, managing and visualising co-methylation data. Loosely speaking, co-methylation is the correlation structure of DNA methylation.
0 stars 1 forks source link

endaopply vs. lapply #6

Open PeteHaitch opened 10 years ago

PeteHaitch commented 10 years ago

IRanges::endaopply preserves the class of the original object. From manual:

Performs the endomorphic equivalents of ‘lapply’ and ‘mapply’ by returning objects of the same class as the inputs rather than a list.