Learn R Programming

mrMLM (version 5.0.1)

pKWmEB: To perform GWAS with pKWmEB method

Description

Kruskal-Wallis test with empirical Bayes under polygenic background control

Usage

pKWmEB(gen,phe,outATCG,genRaw,kk,psmatrix,svpal,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.

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="pKWmEB",trait=1)
result=pKWmEB(InputData$doMR$gen,InputData$doMR$phe,InputData$doMR$outATCG,
InputData$doMR$genRaw,InputData$doMR$kk,InputData$doMR$psmatrix,
0.05,svmlod=3,Genformat=1,CLO=1)  
# }

Run the code above in your browser using DataLab