hapiCVCluster {Hapi} | R Documentation |
Filter out hetSNPs in potential complex regions
hapiCVCluster(draftHap, minDistance = 1e+06, cvlink = 2)
draftHap |
a dataframe with draft haplotype information |
minDistance |
a numeric value of the distance between two
genomic positions with cv-links. Default is |
cvlink |
a numeric value of number of cvlinks. Default is |
a dataframe of regions to be filtered out
Ruidong Li
ref <- rep(0,500)
alt <- rep(1,500)
imputedFrame <- data.frame(gmt1=ref, gmt2=alt, gmt3=ref,
gmt4=ref, gmt5=c(alt[1:250], ref[251:500]),
stringsAsFactors = FALSE)
draftHap <- hapiPhase(imputedFrame)
cvCluster <- hapiCVCluster(draftHap = draftHap, cvlink=2)