plot1: Plotting test trait's norm or multi-comparison

Description Usage Arguments Details Value Author(s) References Examples

Description

plot1 This function plots test trait's norm for breedR object or multi-comparisons for agricolae.

Usage

1
2
3
4
5
6
7
plot1(object, mulT, x.lbls, y.lbls, y.zero)

## S3 method for class 'remlf90'
plot1(object, mulT = FALSE)

## S3 method for class 'group'
plot1(object, x.lbls = NULL, y.lbls = NULL, y.zero = NULL)

Arguments

object

an object of breedR result or multi-comparison.

mulT

multi-trait model(default, FALSE).

Details

Test trait's norm for breedR object,similar to asreml.

Value

the result is returned directly.

Author(s)

Yuanzhen Lin <yzhlinscau@163.com>

References

AAFMM website:https://github.com/yzhlinscau/AAFMM

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## 1 working for agricolae package
library(AAFMM)
library(agricolae)

data(sweetpotato)
model<-aov(yield~virus,data=sweetpotato)
comparison<- LSD.test(model,"virus",alpha=0.01)

plot1(comparison,x.lbls="virus")

## Not run: 
## 2 working for breedR package
library(breedR)
library(AAFMM)

res.animal <- remlf90(fixed = phe_X ~ 1,
                      random = ~ gg,
                      genetic = list(model = 'add_animal',
                      pedigree = globulus[, 1:3],
                      id = 'self'),
                      data = globulus)
                      
plot1(res.animal)

## End(Not run)

yzhlinscau/AAFMM documentation built on May 4, 2019, 4:17 a.m.