[adegenet-forum] How to get observed heterozygosity per population

Jombart, Thibaut t.jombart at imperial.ac.uk
Mon Nov 23 13:11:31 CET 2015


Hello,

have you tried 'summary'? Note, the current devel version is better (previous summary was returning invisibly a list).

Cheers
Thibaut


________________________________
From: adegenet-forum-bounces at lists.r-forge.r-project.org [adegenet-forum-bounces at lists.r-forge.r-project.org] on behalf of Simon Nadeau [simon.nadeau.ubc at gmail.com]
Sent: 19 November 2015 23:00
To: adegenet-forum at lists.r-forge.r-project.org
Subject: [adegenet-forum] How to get observed heterozygosity per population

Hi,

      I have recently been using the various features of adegenet unsing genind objects and I works great so far. However, I can't seem to be able to find easy summary stats:

Observed heterozygosity per population: this would be very handy but I only found the function Hs (expected heterozygosity).

Global allele frequencies per loci: there is a nice histogram of minor allele frequencies on page 30 of the adegenet genomic tutorial, but I can't find how to generate the same plot using genind objects.

Thank you very much for your help,

Simon

--
Simon Nadeau, M. Sc.
Biologiste / Biologist

Ressources naturelles Canada, Service canadien des forêts, Centre de foresterie des Laurentides / Natural Resources Canada, Canadian Forest Service, Laurentian Forestry Centre
1055 rue du P.E.P.S., C.P. 10380 succ. Sainte-Foy, Québec (Québec), Canada G1V 4C7
Simon.Nadeau at a<mailto:Simon.Nadeau.UBC at gmail.com>lumni.UBC.ca<http://lumni.ubc.ca>,
Simon.Nadeau at canada.ca<mailto:Simon.Nadeau at RNCan-NRCan.gc.ca>
Tel: (604) 349-5196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20151123/4844f5a0/attachment.html>


More information about the adegenet-forum mailing list