Skip to content

Categorise methods and refactor code base #46

@PeteHaitch

Description

@PeteHaitch

Should be possible to categorise methods based on a few criteria:

  • Row-block processing vs. column-block processing vs. requires full matrix in-memory (at least under a naïve implementation)
  • Endomorphic (returns matrix of same size as input) vs. returns a vector
  • Other?

Can then greatly simplify codebase by writing code that handles each case and code that registers methods for each function in that category.

Furthermore, should now use DelayedArray::blockApply()/minfi:::blockApplyWithRealization()/minfi:::blockMapply()/minfi:::blockMapplyWithRealization() (moving the minfi functions over to DelayedMatrixStats, if not DelayedArray), along with minfi:::colBlock() and minfi:::rowBlock().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions