Skip to contents

Return the GRanges of LD blocks carried by an LdStatistic.

Usage

getLdBlocks(x)

# S4 method for class 'LdStatistic'
getLdBlocks(x)

Arguments

x

An LdStatistic.

Value

A GRanges of LD block intervals.

Examples

data(ldEigenExample)
getLdBlocks(ldEigenExample)
#> GRanges object with 2 ranges and 0 metadata columns:
#>       seqnames    ranges strand
#>          <Rle> <IRanges>  <Rle>
#>   [1]     chr1     1-999      *
#>   [2]     chr1 1001-1999      *
#>   -------
#>   seqinfo: 1 sequence from hg19 genome; no seqlengths