sm2asreml: Converts sparseMatrix to asreml's giv format

sm2asremlR Documentation

Converts sparseMatrix to asreml's giv format

Description

Converts sparseMatrix to asreml's giv format: row-ordered, upper triangle sparse matrix.

Usage

sm2asreml(A=NULL, rownames=NULL)

Arguments

A

sparseMatrix

rownames

rownames of A

Value

data.frame: if A was formed from a pedigree equivalent to giv format returned by asreml.Ainverse

Author(s)

Jarrod Hadfield j.hadfield@ed.ac.uk

See Also

inverseA

Examples

data(bird.families)
A<-inverseA(bird.families)
Aasreml<-sm2asreml(A$Ainv, A$node.names)

MCMCglmm documentation built on July 9, 2023, 5:24 p.m.

Related to sm2asreml in MCMCglmm...