Learn R Programming

⚠️There's a newer version (4.4.1) of this package.Take me there.

sommer (version 3.7.1)

Solving Mixed Model Equations in R

Description

Structural multivariate-univariate linear mixed model solver for multiple random effects allowing the specification of variance-covariance structures for random effects and allowing the fit of heterogeneous and special variance models (Covarrubias-Pazaran, 2016 ; Maier et al., 2015 ). ML/REML estimates can be obtained using the Direct-Inversion Newton-Raphson, Direct-Inversion Average Information and Efficient Mixed Model Association algorithms. Designed for genomic prediction and genome wide association studies (GWAS), particularly focused in the p > n problem (more coefficients than observations) to include multiple relationship matrices or other covariance structures. Spatial models can be fitted using the two-dimensional spline functionality in sommer.

Copy Link

Version

Install

install.packages('sommer')

Monthly Downloads

4,273

Version

3.7.1

License

GPL (>= 2)

Maintainer

Giovanny Covarrubias-Pazaran

Last Published

December 7th, 2018

Functions in sommer (3.7.1)

AR1

Autocorrelation matrix of order 1.
atcg1234

Letter to number converter
at

at covariance structure
DT_polyploid

Genotypic and Phenotypic data for a potato polyploid population
h2.fun

Obtain heritabilities with three different methods
leg

Legendre polynomial matrix
fixm

fixed indication matrix
DT_gryphon

Gryphon data from the Journal of Animal Ecology
DT_h2

Broad sense heritability calculation.
DT_technow

Genotypic and Phenotypic data from single cross hybrids (Technow et al. (2014))
DT_expdesigns

Data for different experimental designs
E.mat

Epistatic relationship matrix
DT_yatesoats

Yield of oats in a split-block experiment
MEMMA

Multivariate Efficient Mixed Model Association Algorithm
EM

Expectation Maximization Algorithm
DT_fulldiallel

Full diallel data for corn hybrids
list2usmat

list or vector to unstructured matrix
DT_wheat

wheat lines dataset
DT_rice

Rice lines dataset
GWAS

Genome wide association study
DT_halfdiallel

half diallel data for corn hybrids
randef

extracting random effects
DT_legendre

Simulated data for random regression
predict.mmer

Predict form a LMM fitted with mmer
bathy.colors

Generate a sequence of colors for plotting bathymetric data.
coef.mmer

coef form a GLMM fitted with mmer
GWAS2

Genome wide association study
cs

customized covariance structure
adiag1

Binds arrays corner-to-corner
anova.mmer

anova form a GLMM fitted with mmer
ds

diagonal covariance structure
fill.design

Filling the design of an experiment
us

unstructured covariance structure
build.HMM

Build a hybrid marker matrix using parental genotypes
imputev

Imputing a numeric or character vector
jet.colors

Generate a sequence of colors alog the jet colormap.
fitted.mmer

fitted form a GLMM fitted with mmer
mmer

mixed model equations in R
manhattan

Creating a manhattan plot
map.plot

Creating a genetic map plot
summary.mmer

summary form a GLMM fitted with mmer
mmer2

mixed model equations in R
vs

variance structure
residuals.mmer

Residuals form a GLMM fitted with mmer
fcm

fixed effect constraint indication matrix
overlay

Overlay Matrix
pedtoK

Pedigree to matrix
spatPlots

Spatial plots
sommer-package

Solving Mixed Model Equations in R Figure: mai.png
transp

Creating color with transparency
uncm

unconstrained indication matrix
unsm

unstructured indication matrix
pin

pin functionality
plot.mmer

plot form a LMM plot with mmer
spl2D

Two-dimensional penalised tensor-product of marginal B-Spline basis.
D.mat

Dominance relationship matrix
DT_cpdata

Genotypic and Phenotypic data for a CP population
DT_augment

DT_augment design example.
DT_example

Broad sense heritability calculation.
DT_btdata

Blue Tit Data for a Quantitative Genetic Experiment
ARMA

Autocorrelation Moving average.
CS

Compound symmetry matrix
DT_cornhybrids

Corn crosses and markers
A.mat

Additive relationship matrix