Skip to contents

Return the number of variants the heritability estimate was computed over.

Usage

getNSnps(x)

# S4 method for class 'H2Estimate'
getNSnps(x)

Arguments

x

An H2Estimate.

Value

Integer (length 1).

Examples

data(h2EstimateExample)
getNSnps(h2EstimateExample)
#> [1] 100