---------------------------------------------------------------------- mSLCA in R ---------------------------------------------------------------------- All rights reserved to SHINYA, TOQUE, and Kokuvo ---------------------------------------------------------------------- first written on 30 Jun 2007 by SHINYA last modified on 02 Nov. 2008 by TOQUE ---------------------------------------------------------------------- mSLCA.r is a R script that analyses full-sib structures of genetic polymorphic data based on the mSLCA algorithm (Kokuvo et al. 2007 Env. Entomol. 36(6): 1523-1528). This R script relies on the MASS library, so you should install the MASS library beforehand. Assume that you have a data file named "YourData." The data file should consist of lines each of which contains an individual ID followed by genotypes for examined loci. Lines starts with '#' are taken as comment lines. Put mSLCA.r in the same directory where you put the YourData file. mSLCA.r should be used in a batch mode, and hence try the following in your command line; R --vanilla --slave --args YourData < mSLCA.r Then you will get "result-YourData" as a resultant output file. This script works fine under Mac OS X (10.4 and 10.5) with R 2.5.0 and 2.6.0, but we believe that it must work w/o any problems in other UNIX environments, such as Linux and FreeBSD, and also hope to work in the Windows environment. All questions and comments should be send to TOQUE (toque@ies.life.tsukuba.ac.jp). ---------------------------------------------------------------------- README: This file mSLCA.r: the R script for SLCA algorithm TORAall-6loc.txt, mpK5loc.txt: sample data files ----------------------------------------------------------------------