MRCIEU/gwasglue2

Shapes

Closed this issue · 0 comments

Allow summaryset and dataset to have a shape slot. dataset to also have a trait organisation slot.

shape attribute:

  • "single region"
  • "multiple region"
  • "independent variants" / "scattered"
  • "genome wide - pruned"
  • "genome wide - full"
  • NA

trait organisation attribute:

  • named list of integers
  • e.g. TwoSampleMR will expect named list with names "lhs" and "rhs"

For now

  • Set to NA by default
  • Allow user to specify shape
  • show and plot methods might do different things based on different shapes

Later

  • method to automatically guess shape
  • analytical tools expect specific shapes (e.g. hypercoloc experts "single region" with n>1 traits that are in a single group)