You are here


R scripts for mSLCA

Doctoral Program in Biological Sciences, University of Tsukuba, JAPAN
last modified on 16 Mar. 2013

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).

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. Please see the example data files (TORAall-6loc.txt and mpK5loc.txt).

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

Then you will get "result-YourData" as a resultant output file.

This script works fine under Mac OS X (10.4 and later) with R 2.5.0 and later, 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 ( All rights are reserved to S. Yoshimura, Y. Toquenaga, and N. Kokuvo. You can download the following files;