Learn R Programming

mvp (version 1.0.1)

MVP.FarmCPU: Perform GWAS using FarmCPU method

Description

Perform GWAS using FarmCPU method

Usage

MVP.FarmCPU(phe, geno, map, CV=NULL, priority="speed", P=NULL, method.sub="reward", method.sub.final="reward",
	method.bin="EMMA", bin.size=c(5e5,5e6,5e7), bin.selection=seq(10,100,10), memo="MVP.FarmCPU",
	Prior=NULL, ncpus=2, maxLoop=10, threshold.output=.01, converge=1, iteration.output=FALSE,
	p.threshold=NA, QTN.threshold=NULL, bound=NULL)

Arguments

phe

phenotype, n * 2 matrix

phe

phenotype

geno

genotype, n by m matrix. This is Genotype Data Pure (GD). THERE IS NOT COLUMN FOR TAXA.

map

SNP map information

CV

covariates

priority

speed or memory

P

a start p value for each SNP

method.sub, method.sub.final

method used in substitution process

method.bin

EMMA or FaSTLMM

bin.size

window size in genome

bin.selection

a vector, how many windows selected

memo

a marker on output file name

Prior

four columns, SNP name, Chr, Pos, P

ncpus

number of cpus used for parallele

maxLoop

maximum number of iterations

threshold.output

output GWAS results only for SNPs with p value lower than the threshold.output

converge

an indicator for when loops stop

iteration.output

whether to output results for FarmCPU iterations

p.threshold

if all p values in the 1st iteration are bigger than p.threshold, FarmCPU stops

QTN.threshold

Only SNPs have a more significant p value than QTN.threshold have chance to be selected as pseudo QTNs

bound

maximum number of SNPs selected as pseudo QTNs for each iteration