Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Association analysis #28

Open
davidonlaptop opened this issue Apr 27, 2015 · 0 comments
Open

Association analysis #28

davidonlaptop opened this issue Apr 27, 2015 · 0 comments
Labels

Comments

@davidonlaptop
Copy link
Member

Description

This feature adds the --assoc, --model, --fisher, --linear, --logistic, --ci, --counts, --fisher, --cell, --within, --mh, --mh2, --bd, --homog, --gene-drop, --T2, --qt-means, --gxe, --covar, --reference-allele, --beta, --standard-beta, --genotypic, --hethom, --dominant, --recessive option(s) based on the input file described in #2.

This feature also generates the following file formats: ASSOC, FISHER, MODEL, BEST.PERM, BEST.MPERM, GEN.PERM, TREND.PERM, DOM.PERM, REC.PERM, CMH, CMH2, HOMOG, T2.PERM, T2.MPERM, QASSOC, ASSOC.PERM, ASSOC.MPERM, QASSOC.MEANS, QASSOC.GXE, ASSOC.LINEAR, ASSOC.LOGISTIC. For more info, check: http://pngu.mgh.harvard.edu/~purcell/plink/anal.shtml

Scope

The scope of this feature may be too large to implement completely during MGL804. However, many of the file formats seems to share a similar structure... Anyway, the scope needs to be refined with Beatriz.

From a development point of view, it is interesting to note that feature is very distinct from the rest of the other features, so it would be easy to implement in parallel to the other features.

Note: I stopped listing the options and file formats at the section Covariates and interactions.

Analysis

Add a comment to this issue with:

  • plink version used as reference (1.07 or 1.90 beta 3)
  • relevant C++ function name(s) and the file name(s) where they appear
  • Document the structure of all file format(s) described above generated by plink.
  • Document the algorithm and/or mathematical formula to compute all the missing fields described above:

Design

Add a comment to this issue describing how this will be implemented in Spark, and how it differs from plink.

Also update the class diagram on the wiki page describing PLink formats (when incomplete) and add a class diagram describing the models implemented in Scala for this feature on the wiki page on the MGL804 formats.

Implementation

The implementation should integrates with the models implemented in scala by this project and use:

  • Scala
  • Spark RDD
  • Spark MLlib / GraphX (if appropriate)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant