fstat             package:adegenet             R Documentation(utf8)

_F _s_t_a_t_i_s_t_i_c_s _f_o_r _g_e_n_i_n_d _o_b_j_e_c_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function is a wrapper of 'varcomp.glob' for genind objects.
     It computes F statistics (Fst, Fis, Fit) given a set of genotypes
     and a grouping factor.

_U_s_a_g_e:

     fstat(x, pop=NULL, fstonly=FALSE)

_A_r_g_u_m_e_n_t_s:

       x: an object of class genind.

     pop: a factor giving the 'population' of each individual. If NULL,
          pop is seeked from x\@pop. Note that the term population
          refers in fact to any grouping of individuals'.

 fstonly: a logical stating whether only the Fst value should be
          returned (TRUE) instead of all F statistics (FALSE, default).

_V_a_l_u_e:

     A matrix of F statistics.

_A_u_t_h_o_r(_s):

     Thibaut Jombart t.jombart@imperial.ac.uk

_S_e_e _A_l_s_o:

     'varcomp.glob', 'gstat.randtest'

_E_x_a_m_p_l_e_s:

     if(require(hierfstat)){
     data(nancycats)
     fstat(nancycats)
     }

