- First version of various functions organized around this package!
- Original (scripts in a private repository, not a proper package) was not tested systematically, and evolved slowly so many features were only partially present in newer code while older code did things in more awkward ways.
- New code shares the way errors are handled across all cases; style is more coherent, including option names, behaviors, parsers, etc.
- This early version is thoroughly tested, but not documented at all. No functions are exported.
- Documented and exported all main functions!
- Package passes checks!
- Added package documentation page and
README.mdwith sample pipelines for GCTA and plink PCA. - Function
gcta_mlmaexpanded documentation to explain which errors cause function to returnNULLinstead of stopping. - Function
plink_glmexpanded documentation to includedelete_files_logunderseealsosection.
- Function
plink_glmadded optionvif. DESCRIPTIONadded github links (URL, BugReports).README.mdcleaned install instructions
- Reversed
refandaltalleles in all association test parser functions- In line with the same change in
genio::read_bim. - Original interpretation of ref and alt was wrong, it has now been corrected.
- Functions affected:
read_bolt_lmm,read_gcta_mlma,read_gemma_assoc,read_plink_glm, and their downstream dependenciesbolt_lmm,gcta_mlma,gemma_lmm,plink_glm.
- In line with the same change in
- Function
read_gcta_hsqand its dependencygcta_remldebugged- Fixed parser warning by limiting the number of lines to read to the first 4 (excluding header), so now the
$datacomponent of its return list will be more limited.
- Fixed parser warning by limiting the number of lines to read to the first 4 (excluding header), so now the
- Function
plink_glmadded optionmax_corr.
- Function
gcta_mlmaadded optionfile_covar_cat. - Removed
LazyData: truefromDESCRIPTION
- Added functions
plink_hardy,read_plink_hardy, anddelete_files_plink_hardyto runplink2 --hardy, read, and delete its output, respectively.
- Function
plink_hardyaddedmidpoption. - Function
read_plink_hardysupportsmidpoutput, renaming final column from "midp" to "p".
- Function
read_plink_glm(and its dependencyplink_glm) updated parser to work with latest plink2 outputs, while retaining backward compatibility to previous format. - Function
gcta_remladded optionm_phenothat allows specifying the phenotype index in a file with multiple phenotypes.
- Function
gcta_remladded optionsfile_covarandfile_covar_catto provide covariates to this heritability analysis.