| ashaplotype {geneHapR} | R Documentation |
as.haplotype
Description
convert hapSummary or hapResult class into haplotype class (pegas)
Usage
as.haplotype(hap)
Arguments
hap |
object of |
Value
haplotype class
Note
It's not advised for hapSummary or hapResult with indels, due to indels will
convert to SNPs with equal length of each indel.
Examples
data("geneHapR_test")
hap <- as.haplotype(hapResult)
hapSummary <- hap_summary(hapResult)
hap <- as.haplotype(hapSummary)
[Package geneHapR version 1.2.4 Index]