Learn R Programming

mrMLM (version 5.0.1)

mrMLMFun: To perform GWAS with mrMLM method

Description

multi-locus random-SNP-effect Mixed Linear Model

Usage

mrMLMFun(gen,phe,outATCG,genRaw,kk,psmatrix,svpal,svrad,svmlod,Genformat,CLO)

Arguments

gen

genotype matrix.

phe

phenotype matrix.

outATCG

genotype for code 1.

genRaw

raw genotype.

kk

kinship matrix.

psmatrix

population structure matrix.

svpal

Critical P-value for selecting variable

svrad

Search Radius in search of potentially associated QTN.

svmlod

Critical LOD score for significant QTN.

Genformat

Format for genotypic codes.

CLO

number of CPU.

Examples

Run this code
# NOT RUN {
G1=data(Gen)
P1=data(Phe)
Readraw=ReadData(fileGen=Gen,filePhe=Phe,fileKin=NULL,filePS =NULL,
Genformat=1)
InputData=inputData(readraw=Readraw,Genformat=1,method="mrMLM",trait=1)
result=mrMLMFun(InputData$doMR$gen,InputData$doMR$phe,InputData$doMR$outATCG,
InputData$doMR$genRaw,InputData$doMR$kk,InputData$doMR$psmatrix,
0.01,svrad=20,svmlod=3,Genformat=1,CLO=1)
# }

Run the code above in your browser using DataLab