Learn R Programming

mrMLM (version 5.0.1)

DoData: 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.

Examples

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab