Skip to contents

Step 4 (final) of the three-step ctwasPipeline: runs ctwas::finemap_regions on the screened-region set from screenCtwasRegions and assembles the documented top-level ctwas output (z_gene, param, finemap_res, susie_alpha_res, region_data, boundary_genes, screen_res).

Usage

finemapCtwasRegions(screenResult, L = 5L, ncore = 1L, ...)

Arguments

screenResult

A list returned by screenCtwasRegions.

L

Pass-through.

ncore

Number of cores.

...

Additional arguments forwarded to ctwas::finemap_regions.

Value

A list mirroring ctwas::ctwas_sumstats's output: z_gene, param, finemap_res, susie_alpha_res, region_data, boundary_genes, screen_res.