Skip to contents

Return the genomic anchor of each row of a per-tuple collection as a GRanges with one range per row – the trait's own region for a TwasWeights, or the fine-mapping window for a FineMappingResult. This is location provenance (e.g. for cTWAS LD-block placement).

Usage

getRegion(x, ...)

# S4 method for class 'FineMappingResultBase'
getRegion(x, ...)

# S4 method for class 'TwasWeights'
getRegion(x, ...)

Arguments

x

The object.

...

Reserved for future use.

Value

A GRanges with one range per row of x, or an empty GRanges when the collection carries no region provenance.