Skip to contents

Return the GRanges of LD blocks carried by an LdStatistic.

Usage

ldBlocks(x)

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

Arguments

x

An LdStatistic.

Value

A GRanges of LD block intervals.

Examples

data(ldEigenExample)
ldBlocks(ldEigenExample)
#> GRanges object with 14 ranges and 0 metadata columns:
#>        seqnames            ranges strand
#>           <Rle>         <IRanges>  <Rle>
#>    [1]    chr22 10685239-17379581      *
#>    [2]    chr22 17427850-19589757      *
#>    [3]    chr22 19648483-21975710      *
#>    [4]    chr22 22055863-23372538      *
#>    [5]    chr22 23381012-25241405      *
#>    ...      ...               ...    ...
#>   [10]    chr22 32269520-34082438      *
#>   [11]    chr22 34124205-35118897      *
#>   [12]    chr22 35162045-37284957      *
#>   [13]    chr22 37328888-39172790      *
#>   [14]    chr22 39179367-40821794      *
#>   -------
#>   seqinfo: 1 sequence from hg38 genome; no seqlengths