Return number of haplotypes
Source:R/class_all_generics.R
, R/class_phg_dataset.R
numberOfHaplotypes.Rd
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
, atibble
object will created where each row is a count of unique haplotype IDs for every reference range. IfFALSE
, a global count of all haplotype IDs will be returned from the dataset.