Learn R Programming

geneHapR (version 1.2.4)

ashaplotype: as.haplotype

Description

convert hapSummary or hapResult class into haplotype class (pegas)

Usage

as.haplotype(hap)

Value

haplotype class

Arguments

hap

object of hapSummary or hapResult class

Examples

Run this code
data("geneHapR_test")
hap <- as.haplotype(hapResult)
hapSummary <- hap_summary(hapResult)
hap <- as.haplotype(hapSummary)

Run the code above in your browser using DataLab