aboutsummaryrefslogtreecommitdiff
path: root/src/lmm.cpp
AgeCommit message (Collapse)Author
2017-10-06LMM: BIMBAM and PLINK share same LMM code - test passPjotr Prins
2017-10-06LMM: lifter genotype parsing for BIMBAM. All tests pass.Pjotr Prins
2017-10-06LMM: lifter line noPjotr Prins
2017-10-06LMM: lifted out file accessPjotr Prins
2017-10-06Oops: fixed logic problem after removing Oxford dataPjotr Prins
2017-10-05Removed Oxford format as per ↵Pjotr Prins
https://github.com/genetics-statistics/GEMMA/issues/46
2017-10-05LMM: skip beta (again) with LRTPjotr Prins
2017-10-05AddressesPjotr Prins
https://github.com/genetics-statistics/GEMMA/issues/81
2017-10-05Adding debug statements on entering functions and added test for issue 58Pjotr Prins
2017-08-03LOCO is implemented in GEMMA for the BIMBAM format. Pass in the -locoPjotr Prins
1 switch for LOCO of chromosome 1. What are the use cases? 1. User runs vanilla GEMMA: all SNPs are considered input for GWA and K 2. User passes in -snps: all these SNPs are considered for GWA and K 3. User passes in -snps and -ksnps: All these SNPs are used for GWA, Ksnps are used for K 4. User passes in -loco: SNPs are split by chromosome (GWA incl., K excl.) 5. User passes in -snps, -gwasnps and -ksnps could mean that also GWA is subset explicitely (nyi) In all cases indicator_snp is honored and we get the most flexible way for studying SNP combinations that can be passed in in different ways. Overall added: - various comments in source code - tests in test framework inlc. fast-check - NDEBUG compilation support in the Makefile - -debug switch for GEMMA debug output - debug.h which includes enforce functions which work like assert. Unlike assert, enforce also works in release compilation - -nind switch limit the number of individuals used (trim_individuals for testing) - enforcing tests of input files - e.g. are number of individuals correct - checks for memory allocation - we should add more of those - more checks for gsl results - we should add more of those - replaced strtoken with regex as a first case. They should all be replaced. strtoken is not thread safe, for one. - introduced C++ iterators - introduced C++ closure in BimBam LMM for cached processing - more localized initialization of variables - makes for demonstratably more correct code - -ksnps adds snps into setKSnps - -gwasnps adds snps into setGWASnps - both sets are computed by -loco - attempted to make the code easier to read
2017-08-02Massive patch using LLVM coding style. It was generated with:Pjotr Prins
clang-format -style=LLVM -i *.cpp *.h Please set your editor to replace tabs with spaces and use indentation of 2 spaces.
2017-07-07Fix spacingPjotr Prins
2017-06-08Removed commented-out code from gemma.cpp.Peter Carbonetto
2017-05-04Fixed problems with duplicate symbols; now using static gsl libraries in ↵Peter Carbonetto
Makefile.osx so that others don't have to download it using Homebrew.
2017-05-04Local updates made by Xiang---shared via email on May 4, 2017, subject: ↵Peter Carbonetto
gemma on expression data.
2017-05-04Fixed problems with duplicate symbols in io.o, lmm.o, param.o and vc.o; ↵Peter Carbonetto
created a Makefile for Mac OS X (tested on 10.11, i.e., El Capitan).
2016-07-24version 0.95alphaxiangzhou
2016-05-23version 0.95alphaxiangzhou
2015-07-11add GXE testxiangzhou
2014-09-22version 0.95alphaxiangzhou