snp.batch: SNP batch analysis

Description Usage Arguments Author(s) References See Also Examples

Description

This function carries out batch analysis for SNP effects with trait in ASReml-R package.

Usage

1
snp.batch(data,SNP.N,traitN,FMod=NULL,maxit=NULL,SNP.detail=FALSE,SNP.figure=FALSE,SNP.signif=TRUE,alpha=0.05)

Arguments

data

asreml dataset

SNP.N

A vector with sites of all SNPs.

traitN

A vector with sites of all traits

FMod

Fixed mode, y~x(default).

maxit

Maximum number of iterations, 20(default).

SNP.detail

Index to output information of every SNP type, F(default) for non-SNP-detail output.

SNP.figure

Index to output boxplot of every SNP type, F(default) for non-figure output.

SNP.signif

Index to output signif results of every SNP type, TRUE(default) for only significant output.

alpha

Signif levels of every SNP type, 0.05(default).

Author(s)

Yuanzhen Lin <yzhlinscau@163.com>

References

Yuanzhen Lin. R & ASReml-R Statistics. China Forestry Publishing House. 2016

See Also

Website for instant update: yzhlin-asreml.ys168.com

Examples

1
2
3
4
5
6
7
8
library(asreml)
library(AAfun)
data(SNP)
df<-SNP #str(df)

snp.batch(df,SNP.N=2:4,traitN=c(5:6))
snp.batch(df,SNP.N=2:4,traitN=c(5:6), SNP.detail=T)
snp.batch(df,SNP.N=2:4,traitN=c(5:6), SNP.figure=T)

yzhlinscau/AAfun documentation built on May 21, 2020, 2:19 p.m.