Return number of haplotypes
Source:R/class_all_generics.R, R/class_phg_dataset.R
numberOfHaplotypes.RdReturns 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
PHGDataSetobject- ...
Additional arguments, for use in specific methods
- byRefRange
If
TRUE, atibbleobject 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.