This is a test version of Biostars. For the public version, visit https://www.biostars.org.
plotting allele frequencies generated using vcftools

Hi,

I'm trying to plot allele frequency of my GBS data. I could generate the allele frequencies for each chromosome separately using vcftools and output files are in .frq format. I couldn't find a specific R package that help plot the data.

I appreciate any help with links to relevant R packages...

Thanks!

gwas genome plots snp vcftools

1 answer

If you would like to get an overview of the AF distribution, you can use simple density function from R. Something like following

# read data into R object (ex: dat)

plot(density(dat$AF)) #AF - field which contains AF values

Log in to answer this question.