Learn R Programming

mrMLM.GUI (version 4.0.2)

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(mrgen)
P1=data(mrphe)
G2=data(mrgenraw)
result=pKWmEB(mrgen,mrphe,outATCG=NULL,mrgenraw,kk=NULL,psmatrix=NULL,
0.05,3,1,CLO=1)
# }

Run the code above in your browser using DataLab