Skip to contents

Returns the number of haplotypes either for the whole dataset or by each individual reference range.

Usage

numberOfHaplotypes(object, ...)

# S4 method for class 'PHGDataSet'
numberOfHaplotypes(object, byRefRange = FALSE)

Arguments

object

A PHGDataSet object

...

Additional arguments, for use in specific methods

byRefRange

If TRUE, a tibble object will created where each row is a count of unique haplotype IDs for every reference range. If FALSE, a global count of all haplotype IDs will be returned from the dataset.