SimCoImport              package:simco              R Documentation

_A _f_u_n_c_t_i_o_n _t_o _i_m_p_o_r_t _S_t_r_u_c_t_u_r_e _o_u_t_p_u_t _f_i_l_e_s _f_r_o_m _e_i_t_h_e_r _t_h_e _c_u_r_r_e_n_t _w_o_r_k_i_n_g _d_i_r_e_c_t_o_r_y _o_r _f_r_o_m _a _d_i_r_e_c_t_o_r_y _o_f _c_h_o_i_c_e

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

     This program imports Structure output files and turns them into a
     useable dataframe for use in R. Particularly for use by the
     '"SimCoef()"' function of this package

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

     SimCoImport(FILES)

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

   FILES: This is a list of the Structure files to be imported.

_D_e_t_a_i_l_s:

     The list of files is easily generated by putting the files in a
     directory, using '"setwd()"' to change the working directory to
     that directory and then '"list.files()"' to get the list.
      The best way to use this command is by first setting your working
     directory to one containing the sample files using '"setwd()"'.
      Examples of structure output files, and further help, are
     provided in the 'docs' directory of the 'simco' package (which
     should be in your R library folder if you have installed 'simco'
     correctly.

     For example:

     'setwd("/Users/orj/Documents/Simco/structurefiles")'
      'myfiles<-list.files()'
      'x<-SimCoImport(myfiles)'
      'x'

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

     The output is a dataframe with columns of the confidence of
     assignment to a group and a run identifier (a CAPITAL letter).
     Rows are individual observations/samples.

_N_o_t_e:

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

     Owen Jones

_R_e_f_e_r_e_n_c_e_s:

     Rebbeck, CA, Jones, OR, & Tsai, IJ  (Submitted to
     _Bioinformatics_) SimCo: A program to automate the comparison of
     multiple structure runs (available from owen.jones@imperial.ac.uk)

     Pritchard, J. K. et al. (2000) Inference of population structure
     using multilocus genotype data. _Genetics_. 155, 945-959.

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

     'SimCoef'

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

