The allele frequency spectrum
1  | plotSNPspectrum(genotype, allele = 1)
 | 
genotype | 
 A matrix of genotype of size nbIndiv x nbLocus  | 
allel | 
 0 or 1 for allele which you want the spectrum  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.