DoData: process raw data

Description Usage Arguments Author(s) Examples

Description

process raw data for later use

Usage

1
DoData(genRaw,Genformat,pheRaw1q,kkRaw,psmatrixRaw,trait,type)

Arguments

genRaw

raw genotype matrix.

Genformat

genotype format.

pheRaw1q

raw phenotype matrix.

kkRaw

raw kinship matrix.

psmatrixRaw

raw population structure matrix.

trait

which trait to analysis.

type

which type to transform.

Author(s)

Zhang Ya-Wen, Li Pei, Ren Wen-Long, Ni Yuan-Li, Zhang Yuan-Ming
Maintainer: Yuan-Ming Zhang<[email protected]>

Examples

1
2
3
4
5
6
G1=data(Gen)
P1=data(Phe)
readraw=ReadData(fileGen=Gen,filePhe=Phe,fileKin=NULL,filePS =NULL,
Genformat=1)
result=DoData(readraw$genRaw,Genformat=3,readraw$pheRaw1q,readraw$kkRaw,
readraw$psmatrixRaw,trait=1,type=2)

mrMLM documentation built on May 2, 2019, 8:17 a.m.