Skip to content

Merge computeMsigOverlap and computeMsigNetwork #8

Description

@ahmohamed

Currently, having a list of significant gene sets, we compute the network using the following code:

gs_ovlap = computeMsigOverlap(siggs, thresh = 0.25)
gs_ovnet = computeMsigNetwork(gs_ovlap, msigdb)

I think we can't merge both into one function, with the signature

computeMsigNetwork <- function(siggs, thresh = 0.25) {
  gs_ovlap = computeMsigOverlap(siggs, thresh = 0.25)
  
  # This is the current computeMsigNetwork function
  # We reuse siggs, which is already a msigGsc object
  .computeMsigNetwork(gs_ovlap, siggs)
}

which will should make the code cleaner, and more black-boxed (if that's desirable).

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