[adegenet-forum] Allele frequencies around 0.5

Niklas Tysklind osp231 at bangor.ac.uk
Wed May 6 16:51:58 CEST 2009


Dear Thibaut,

Many thanks for your help before. I've solved my previous "mistery 
structuring". I exported the sample$li values and susequetly divided my 
data acording to these "rogue" groups, and reanalysed. As it happens, it 
was due to one microsat locus with very low diversity (6 alleles with 2 
very dominant ones), thus the data was being sorted according to whether 
individuals were homozygous to one or another allele or heterozygosous 
for both. Very neat!! and I'm very happy it nothing more serious to 
worry about! when I remove that locus, then the PCA looks more like a 
cloud of dots (as I was expecting).

However, as you point out in Jombart et al, 2009, problems may arise 
when frequencies are near 0.5 and thus I would like to recalculate my 
PCAs and CAs.  You suggest dividing allele frequencies (fj)  by 
(fj(1-fj))^0.5, however, genind and genpop objects store locus 
information by allele counts rather than frequencies. Do you have any 
suggestions about how to go about to do such a transformation in adegenet?

Kind regards,

Niklas

-- 
Gall y neges e-bost hon, ac unrhyw atodiadau a anfonwyd gyda hi,
gynnwys deunydd cyfrinachol ac wedi eu bwriadu i'w defnyddio'n unig
gan y sawl y cawsant eu cyfeirio ato (atynt). Os ydych wedi derbyn y
neges e-bost hon trwy gamgymeriad, rhowch wybod i'r anfonwr ar
unwaith a dilëwch y neges. Os na fwriadwyd anfon y neges atoch chi,
rhaid i chi beidio â defnyddio, cadw neu ddatgelu unrhyw wybodaeth a
gynhwysir ynddi. Mae unrhyw farn neu safbwynt yn eiddo i'r sawl a'i
hanfonodd yn unig  ac nid yw o anghenraid yn cynrychioli barn
Prifysgol Bangor. Nid yw Prifysgol Bangor yn gwarantu
bod y neges e-bost hon neu unrhyw atodiadau yn rhydd rhag firysau neu
100% yn ddiogel. Oni bai fod hyn wedi ei ddatgan yn uniongyrchol yn
nhestun yr e-bost, nid bwriad y neges e-bost hon yw ffurfio contract
rhwymol - mae rhestr o lofnodwyr awdurdodedig ar gael o Swyddfa
Cyllid Prifysgol Bangor.  www.bangor.ac.uk

This email and any attachments may contain confidential material and
is solely for the use of the intended recipient(s).  If you have
received this email in error, please notify the sender immediately
and delete this email.  If you are not the intended recipient(s), you
must not use, retain or disclose any information contained in this
email.  Any views or opinions are solely those of the sender and do
not necessarily represent those of the Bangor University.
Bangor University does not guarantee that this email or
any attachments are free from viruses or 100% secure.  Unless
expressly stated in the body of the text of the email, this email is
not intended to form a binding contract - a list of authorised
signatories is available from the Bangor University Finance
Office.  www.bangor.ac.uk



More information about the adegenet-forum mailing list