Learn R Programming

rPlant (version 2.16)

FaST_LMM: FaST-LMM-2.07

Description

FaST-LMM (Factored Spectrally Transformed Linear Mixed Models) is a program for performing genome-wide association studies (GWAS) on large data sets. The FaST-LMM iPlant APP is described more fully at https://pods.iplantcollaborative.org/wiki/display/DEapps/FaST-LMM. The program details including downloads and further help pages at http://research.microsoft.com/en-us/um/redmond/projects/mscompbio/fastlmm/.

Usage

FaST_LMM(input.file.list="", ALL.file.path="", print.curl=FALSE, sim.file.list=NULL, pheno.file.name=NULL, mpheno=1, args=NULL, covar.file.name=NULL, job.name=NULL, shared.username=NULL, suppress.Warnings=FALSE, out.basename=NULL)

Arguments

input.file.list
(required) Names of files, in a list format, to be evaluated on the iPlant servers. There are only three possible input groups for file.list, regular fileset (.map/.ped), transposed fileset (.tfam/.tped), and binary fileset (.bed/.bim/.fam).
ALL.file.path
Optional path to a user's subdirectory on the iPlant servers; default path is empty, which leads to the home directory. All files specified including optional files must be in this directory.
job.name
The name to give the job being submitted
out.basename
The base name for the output files (not including extension).
sim.file.list
(optional) A list containing the names of genetic similarity files. These are used to determine the genetic similarities between individuals. The may be different from the input.file.list but MUST have the same formats as the input.file.list.
pheno.file.name
(optional) The full file name of the PLINK alternative phenotype file. This includes at least three columns, family ID, individual ID, and phenotype value, and may have any number of phenotype columns. Missing value as default is -9 but it can be changed.
mpheno
(optional) This value MUST be entered if a phenotype file is provided. This value is the index for phenotype in -pheno file to process, starting at 1 for the first phenotype column. Default is 1
covar.file.name
(optional) Must have at least three tab-delimited columns: family ID, individual ID, and covariate value, and may have any number of covariate values. The same missing value signifier from the phenotype file must be used. Note: the file should not have a header row.
args
Optional for arguments (i.e. flags). The FaST-LMM model has much additional functionality that is not fit into this wrapper function (http://fastlmm.codeplex.com/), see manual. This option allows users to add anything that is not included (.i.e. args="-Ftest"), to automatically invoke the F-test, see details.
print.curl
Prints the curl statement that can be used in the terminal, if curl is installed on your computer
shared.username
With iPlant you have the ability to share folders with other users. If someone has shared a folder with you and you want to run a job with them, enter their username for this input.
suppress.Warnings
This will turn off the warnings, will speed up run time. Use with caution, if the inputs are incorrect they will not be caught.

Value

A list containing the job id and the job name is provided for jobs submitted. If an error, then a message stating the error should also be reported.

Details

The inputs for input.file.list are to be used only in three very strict groups. Group 1: TFAM, TPED, these are the PLINK transposed filesets. Group 2: MAP, PED, these are the PLINK regular filesets. Group 3: BED, BIM, FAM, these are the PLINK binary filesets.

Additional arguments, args, can be found at http://fastlmm.codeplex.com/, see the manual. The args input is text with the flags and inputs for those flags in a string like on the command line.

Not all information on the FaST-LMM model is here, see the FaST-LMM website http://fastlmm.codeplex.com/, or the FaST-LMM manual for more information.

See Also

SubmitJob, Validate, UploadFile

Examples

Run this code
## Not run: data(geno_test.tfam)
## Not run: data(geno_test.tped)
## Not run: write.table(geno_test.tfam, file = "geno_test.tfam", row.names=FALSE, 
#                      col.names=FALSE, quote=FALSE, sep="\t")## End(Not run)
## Not run: write.table(geno_test.tped, file = "geno_test.tped", row.names=FALSE, 
#                      col.names=FALSE, quote=FALSE, sep="\t")## End(Not run)
## Not run: Validate("username","password")
## Not run: UploadFile("geno_test.tfam")
## Not run: UploadFile("geno_test.tped")
## Not run: FaST_LMM(input.file.list=list("geno_test.tfam","geno_test.tped"))

Run the code above in your browser using DataLab