InFile {SpectralGEM} | R Documentation |
The function generates a text file that contains the parameters needed in the main fortran program and saves it in the current directory.
InFile(identifier="smal",stage="1",directory="./", MMfile="MMprime.txt",excludefile="exclude.txt", idlength=8,mincluster=10,logtype=0, mdim=-1,msnp=-1, outfile="matching_input.txt")
identifier |
Must be 4-letters long. |
stage |
Must be 1-letter long. |
directory |
The directory where the files will be generated. |
MMfile |
The MMprime matrix file name. |
excludefile |
The name of the file where the outliers have been or will be written. |
idlength |
The number of letters the longest sample name has. |
mincluster |
The smallest cluster required when do clustering, must be at least 5. |
logtype |
The type of log information output to the log file: 0=limited, 2=lots. |
mdim |
The maximum number of eigenvalues to print to the output file. The default is set at -1, which prints out every eigenvalues. |
msnp |
The number of SNPs to be used in determine the threshold for the significant eigenvalues. The default is set at -1, which the program estimates the value. |
outfile |
The name of the output file. |
The function generates a text file with one column which contains all the parameters needed. The parameters need to be in the right order in order for the main fortran program to use.
A text file is saved in the current directory.
Ann Lee, Diana Luca, Bert Klei, Bernie Devlin, and Kathryn Roeder
Maintainer: Jing Wu jwu@stat.cmu.edu
http://wpicr.wpic.pitt.edu/WPICCompGen/Spectral-GEM/GEM+.htm
http://wpicr.wpic.pitt.edu/WPICCompGen/Spectral-GEM/matching_input.txt