qms2.sas

The same macro calling rules as defined for ghimport.sas apply to qms2.sas. The mautosource command should be used to reference the qms2.sas macro. The code snippet in Example 3-5 shows an example of the qms2.sas macro being called with all of the required and optional arguments specified. Data will be read from the sample dataset in the qtl library, and the output will be saved to the working dataset stats. The influence statistics will be saved to the working dataset infce. Plots will be produced showing t by pos and output as color encapsulated PostScript files. The vertical axis will be labeled "t-score" and horizontal axis will be labeled "Position on Chromosome 6 (cM)".

Example 3-5. Calling qms2.sas

	  %macro qms2(data=qtl.sample,
	              output=stats,
	              infce=1,
	              infout=infce,
	              plot=1,
	              vars=t*pos,
	              format=pslepsfc,
	              axis1=t-score,
	              axis2=Position on chromosome 6 (cM));