pKWmEB: To perform GWAS with pKWmEB method

View source: R/pKWmEB.R

pKWmEBR Documentation

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.

Author(s)

Zhang Ya-Wen, Wang Jing-Tian, Li Pei, Zhang Yuan-Ming
Maintainer: Yuan-Ming Zhang<soyzhang@mail.hzau.edu.cn>

Examples

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)  

mrMLM documentation built on March 27, 2022, 9:05 a.m.

Related to pKWmEB in mrMLM...