Skip to content

Benchmark against established annotation approaches #17

Description

@thomazbastiaanssen

Background

Initial version of mapModules has been built.

Validity of output

  • Compare mapModules output vs current golden standard, rpm().
  • implement testthat
    • unstratified case.
    • stratified case.

Functionality

  • Currently, computes one of: "coverage" "presence" "sum" "count".
  • Compare to rpm().

Code Quality

  • Potentially simplify internals of mapModules.
    • stratified vs non-stratified can be simplified. At some point, I use split.data.frame (confusingly) to split stratified input x into strata/(taxa). Then, I proceed using lapply by stratum -> do.call(rbind, res_list).
      • simplification: surely unstratified can be seen as a single instance of the stratified analysis.

Bioconductor integration

  • implement (t)se methods
  • Should mapModules dispatch on feature table x rather than module mapping information map?
    • Current x was taken directly from a SummarizedExperiment, namely: x <- assay(SE)
    • Potentially even double dispatch, on both x, map?
      • Seems needlessly complicated - I don't expect to see non-MultiFactor methods for map in mapModules.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions