This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to make the SNP density plot using hapmap file

Hi , have the Hapmap file hapmap_file.hmp.txt converted from vcf. I am trying to make a snp density plot like the given example. I want to convert my hapmap file into matrix or data frame using snpMatrix package. is there any other package or option to convert the file into matrix and please share some suggestions which packages are suitable to make the SNP density plot.enter image description here

vcf haplotype hapmap cmplot

Thank you. I converted the vcf file into hapmap.ped and hapmap.map file using plink. Later, hapmap.map file is used in R package (CMplot) to draw the plot as given above.

0 answers

No answers yet.

Log in to answer this question.