All functions |
|
---|---|
Annotates cTWAS finemapping result with gene annotations |
|
Assembles data for all the regions |
|
Computes gene z-scores. |
|
Computes correlation matrices for a single region |
|
Computes non-SNP PIPs for all regions from finemapping result |
|
Converts fusion weights to predictDB format |
|
Converts PLINK genotype data to LD matrices and SNP info files, saves LD matrices as .RDS files and SNP info as .Rvar files |
|
Creates weight files in PredictDB format from QTL data |
|
Map SNPs to regions using region meta table. |
|
Map SNPs to regions using all the variants in the LD reference. |
|
run cTWAS analysis using summary statistics |
|
run cTWAS analysis using summary statistics with "no LD" version |
|
Diagnose LD mismatch using SuSiE RSS |
|
Estimates cTWAS parameters using EM |
|
Estimate L for all regions by running finemapping with uniform prior |
|
Expands region_data with all SNPs |
|
Runs cTWAS fine-mapping for regions |
|
Runs cTWAS fine-mapping for regions without LD (L = 1) |
|
Get gene annotation table from Ensembl database |
|
Gets problematic genes from problematic SNPs |
|
Gets correlation matrices for a single region. |
|
Load LD matrix |
|
Loads weights in FUSION format |
|
Loads weights in PredictDB format |
|
Loads weights in PredictDB or FUSION format |
|
Make convergence plots for the estimated parameters |
|
Plots the cTWAS result for a single locus |
|
Merges region data for cross-boundary genes |
|
Merges region data for cross-boundary genes without using LD |
|
Preprocess PredictDB/FUSION weights and harmonize with LD reference |
|
Preprocess GWAS z-scores, harmonize GWAS z-scores with LD reference |
|
Screens regions with strong signals to be used in fine-mapping step. |
|
Screens regions with strong signals without using LD. |
|
Summarizes estimated parameters |