Skip to contents

Returns the trimmed model fit underlying conData$finemappingEntry (a FineMappingRow, or a single-row fine-mapping result), or NULL if no fine-mapping entry is attached.

Usage

susieResult(conData)

Arguments

conData

List. The method-layer entry from a finemapping pipeline result, expected to carry $finemappingEntry as a FineMappingRow or a single-row fine-mapping result.

Value

The trimmed fit (a list with pip, sets, etc.) or NULL.

Examples

data(qtlFineMappingExample)
fit <- susieResult(list(finemappingEntry = qtlFineMappingExample[1]))
head(fit$pip)
#> [1] 1.844064e-04 1.844064e-04 9.238576e-05 7.445787e-05 7.445787e-05
#> [6] 8.735143e-05