DoData {mrMLM}R Documentation

process raw data

Description

process raw data for later use

Usage

DoData(genRaw,Genformat,pheRaw1q,kkRaw,psmatrixRaw,covmatrixRaw,trait,
type,PopStrType)

Arguments

genRaw

raw genotype matrix.

Genformat

genotype format.

pheRaw1q

raw phenotype matrix.

kkRaw

raw kinship matrix.

psmatrixRaw

raw population structure matrix.

covmatrixRaw

raw covariate matrix.

trait

which trait to analysis.

type

which type to transform.

PopStrType

The type of population structure.

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,
fileCov=NULL,Genformat=1)
result=DoData(readraw$genRaw,Genformat=1,readraw$pheRaw1q,readraw$kkRaw,
readraw$psmatrixRaw,readraw$covmatrixRaw,trait=1,type=2,PopStrType=NULL)

[Package mrMLM version 5.0.1 Index]