Skip to contents

Extract sample size vector from a GwasSumStats or QtlSumStats entry, selected by its identity tuple.

Usage

getN(x, ...)

# S4 method for class 'SumStatsBase'
getN(x, ...)

Arguments

x

A GwasSumStats or QtlSumStats object.

...

Class-specific selection arguments.

Value

Numeric vector of sample sizes.

Examples

data(qtlSumStatsExample)
getN(qtlSumStatsExample)
#>   [1] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#>  [19] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#>  [37] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#>  [55] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#>  [73] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#>  [91] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#> [109] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#> [127] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#> [145] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#> [163] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#> [181] 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165 165
#> [199] 165 165