Skip to content

R package for grouping phased SNP variants into haplotypes based on sequence similarity.

License

Notifications You must be signed in to change notification settings

alethere/hapgroup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme

This is a very simple package with a main object, an R6 class called hapBlock with several methods. Its main purpose is to analyse groups of phased SNP markers and to convert them to haplotype codes.

Although this task is relatively simple, when the number of SNP markers increases (especially after having more than 10 SNPs) the number of "rare" alleles is quickly inflated. This is because a single mistake in a single marker produces a seemingly unique, new, haplotype. An easy solution to this situation is to compare haplotypes and group them based on similarity. This is exactly what hapgroup does. Find out more in the vignette.

To install hapgroup you can use the following code:

devtools::install_github("https://github.com/alethere/hapgroup",build_vignettes = TRUE)

And to see the vignette you can go to alethere.github.io/hapgroup or browse it from the package:

browseVignettes(hapgroup)

About

R package for grouping phased SNP variants into haplotypes based on sequence similarity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages