snipar.gwas module
- snipar.gwas.process_batch(y, pedigree, tau, sigma2, snp_ids=None, bedfile=None, bgenfile=None, par_gts_f=None, parsum=False, fit_sib=False, max_missing=5, min_maf=0.01, verbose=False, print_sample_info=False)[source]
- snipar.gwas.process_chromosome(chrom_out, y, pedigree, tau, sigma2, outprefix, bedfile=None, bgenfile=None, par_gts_f=None, fit_sib=False, parsum=False, max_missing=5, min_maf=0.01, batch_size=10000, no_hdf5_out=False, no_txt_out=False)[source]
- snipar.gwas.transform_phenotype(inv_root, y, fam_indices, null_mean=None)[source]
Transform phenotype based on inverse square root of phenotypic covariance matrix. If the null model included covariates, the fitted mean is removed rather than the overall mean