Skip to contents

Row-bind two or more fine-mapping result collections of the SAME concrete class (all QtlFineMappingResult or all GwasFineMappingResult) into one – e.g. per-block GWAS results into a genome-wide collection for cTWAS. Mixing the two concrete classes is an error.

Usage

combineFineMappingResults(..., ldSketch = NULL)

Arguments

...

Two or more FineMappingResultBase objects, or a single list of them.

ldSketch

Optional genotype panel (see readGenotypes) to attach to the combined collection. Default NULL. Applied when combining two or more inputs; a single input is returned unchanged.

Value

A single combined fine-mapping result of the shared concrete class.

Examples

data(qtlFineMappingExample)
combineFineMappingResults(qtlFineMappingExample)
#> QtlFineMappingResult: 1 entries
#>   1 studies, 1 contexts, 1 traits, 1 methods
#>   LD sketch: NULL (individual-level fit)