Learn R Programming

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

sommer (version 2.9)

Solving Mixed Model Equations in R

Description

Multivariate linear mixed model solver for estimation of heterogeneous variances and specification of variance covariance structures. Maximum and Restricted Maximum Likelihood (ML/REML) estimates can be obtained using the Direct-Inversion Newton-Raphson (NR), Direct-Inversion Average Information (AI), MME-based Expectation-Maximization (EM), and Efficient Mixed Model Association (EMMA) algorithms. Designed for genomic prediction and genome wide association studies (GWAS) to include additive, dominance and epistatic relationship structures or other covariance structures in R, but also functional as a regular multivariate mixed model software. Multivariate models (multiple responses) can be fitted currently with NR, AI and EMMA algorithms.

Copy Link

Version

Install

install.packages('sommer')

Monthly Downloads

7,425

Version

2.9

License

GPL-3

Maintainer

Giovanny Covarrubias-Pazaran

Last Published

July 8th, 2017

Functions in sommer (2.9)

EM2

Expectation Maximization Algorithm
EMMA

Efficient Mixed Model Association Algorithm
E.mat

Epistatic relationship matrix
EM

Expectation Maximization Algorithm
AImme

Average Information Algorithm MME-based
BTdata

Blue Tit Data for a Quantitative Genetic Experiment
CPdata

Genotypic and Phenotypic data for a CP population
D.mat

Dominance relationship matrix
A.mat

Additive relationship matrix
AI

Average Information Algorithm
ExpDesigns

Data for different experimental designs
FDdata

Full diallel data for corn hybrids
LD.decay

Calculation of linkage disequilibrium decay
F1geno

Genotypes from an F1(CP) cross to show phasing
HDdata

half diallel data for corn hybrids
Technow_data

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

Binds arrays corner-to-corner
atcg1234

Letter to number converter
augment

augment design example.
MMERM

Multivariate mixed model solver to be called inside mmer
MNR

Multivariate Newton-Raphson Algorithm
RICE

Rice lines dataset
TP.prep

Selecting the best training population for genomic selection
MAI

Multivariate Average Information Algorithm
PEV

Selecting the best training population for genomic selection
PolyData

Genotypic and Phenotypic data for a potato polyploid population
blocker

Applying postblocking in a field
fill.design

Filling the design of an experiment
fitted.MMERM

fitted form a GLMM fitted with mmer
g

g functionality
gryphondata

Gryphon data from the Journal of Animal Ecology
MAI2

Multivariate Average Information Algorithm
MEMMA

Multivariate Efficient Mixed Model Association Algorithm
ai2help

Average Information Algorithm
and

and functionality
mmerSNOW

Mixed Model Equations in R univariate
my.colors

All typical colors in R easy to access.
plot.mmer

plot form a GLMM plot with mmer
plot.mmerM

plot form a GLMM plot with mmer
bathy.colors

Generate a sequence of colors for plotting bathymetric data.
big.peaks.col

Peak search by first derivatives
design.score

design score for the model to be tested
eigenGWAS

Unraveling selection signatures with eigenGWAS
anova.MMERM

anova form a GLMM fitted with mmer
anova.mmer

anova form a GLMM fitted with mmer
fdr

False Discovery Rate calculation
fdr2

False Discovery Rate calculation
h2

Broad sense heritability calculation.
hadamard.prod

Hadamard product of two matrices
matrix.trace

The trace of a matrix
maxi.qtl

Peak search by first derivatives
brewer.pal

Generate a sequence of colors for groups.
coef.mmerM

coef form a GLMM fitted with mmer
cornHybrid

Corn crosses and markers
fitted.mmer

fitted form a GLMM fitted with mmer
fitted.mmerM

fitted form a GLMM fitted with mmer
mmer

Mixed Model Equations in R
mmer2

Mixed Model Equations in R (formula-based mmer)
overlay

Overlay Matrix
residuals.MMERM

Residuals form a GLMM fitted with mmer
residuals.mmer

Residuals form a GLMM fitted with mmer
name.change

renaming a vector by adding zeros
nna

Nearest neighbour adjustment
summary.MMERM

summary form a GLMM fitted with mmer
summary.mmer

summary form a GLMM fitted with mmer
hdm

Half Diallel Matrix
hits

Creating a fixed effect matrix with significant GWAS markers
manhattan

Creating a manhattan plot
map.plot

Creating a genetic map plot
NR

Newton-Raphson Algorithm
NR22

Newton-Raphson Algorithm
anova.mmerM

anova form a GLMM fitted with mmer
at

at functionality
phase.F1

Phasing F1 (CP) data in biparental populations
score.calcMV

Score calculation for markers
sommer-package

Solving Mixed Model Equations in R
yates.oats

Yield of oats in a split-block experiment
poe

Short poems from Latin America, and other places why not?
randef

extracting random effects
residuals.mmerM

Residuals form a GLMM fitted with mmer
score.calc

Score calculation for markers
us

us functionality
wheatLines

wheat lines dataset
coef.MMERM

coef form a GLMM fitted with mmer
coef.mmer

coef form a GLMM fitted with mmer
imputev

Imputing a numeric or character vector
is.diagonal.matrix

Test for diagonal square matrix
is.square.matrix

Test for square matrix
jet.colors

Generate a sequence of colors alog the jet colormap.
plot.MMERM

plot form a GLMM plot with mmer
summary.mmerM

summary form a GLMM fitted with mmer
transp

Creating color with transparency
pin

pin functionality