Learn R Programming

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

sommer (version 3.5)

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 variance models (Covarrubias-Pazaran, 2016 ; Maier et al., 2015 ). ML/REML estimates can be obtained using the Direct-Inversion Newton-Raphson, 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.5

License

GPL-3

Maintainer

Giovanny Covarrubias-Pazaran

Last Published

July 2nd, 2018

Functions in sommer (3.5)

fdr

False Discovery Rate calculation
blockerL

Applying linear postblocking in a field
atcg1234

Letter to number converter
brewer.pal

Generate a sequence of colors for groups.
build.HMM

Build a hybrid marker matrix using parental genotypes
nna

Nearest neighbour adjustment
hdm

Half Diallel Matrix
imputev

Imputing a numeric or character vector
fdr2

False Discovery Rate calculation
hits

Creating a fixed effect matrix with significant GWAS markers
h2example

Broad sense heritability calculation.
my.colors

All typical colors in R easy to access.
hadamard.prod

Hadamard product of two matrices
fitted.MMERM

fitted form a GLMM fitted with mmer
fill.design

Filling the design of an experiment
augment

augment design example.
bathy.colors

Generate a sequence of colors for plotting bathymetric data.
blockerT

Applying transversal postblocking in a field
phase.F1

Phasing F1 (CP) data in biparental populations
is.diagonal.matrix

Test for diagonal square matrix
manhattan

Creating a manhattan plot
design.score

design score for the model to be tested
pin

pin functionality
coef.MMERM

coef form a GLMM fitted with mmer
cornHybrid

Corn crosses and markers
randef

extracting random effects
plot.MMERM

plot form a LMM plot with mmer
map.plot

Creating a genetic map plot
example

Broad sense heritability calculation.
overlay

Overlay Matrix
residuals.MMERM

Residuals form a GLMM fitted with mmer
big.peaks.col

Peak search by first derivatives
pedtoK

Pedigree to matrix
jet.colors

Generate a sequence of colors alog the jet colormap.
spatPlots

Spatial plots
is.square.matrix

Test for square matrix
plot.variogram.MMERM

Default variogram.MMERM plotting
vctable

vctable functionality
summary.MMERM

summary form a GLMM fitted with mmer
h2.fun

Obtain heritabilities with three different methods
variogram

Sample variogram
blocker

Applying postblocking in a field
gryphondata

Gryphon data from the Journal of Animal Ecology
transp

Creating color with transparency
maxi.qtl

Peak search by first derivatives
matrix.trace

The trace of a matrix
mmer

mixed model equations in R
score.calcMV

Score calculation for markers
vctable.help

vctable.help functionality
mmer2

mixed model equations in R
sommer-package

Solving Mixed Model Equations in R Figure: mai.png
yates.oats

Yield of oats in a split-block experiment
wheatLines

wheat lines dataset
FDdata

Full diallel data for corn hybrids
A.mat

Additive relationship matrix
F1geno

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

Blue Tit Data for a Quantitative Genetic Experiment
GWAS

Genome Wide Association Analysis
EM

Expectation Maximization Algorithm
ExpDesigns

Data for different experimental designs
MEMMA

Multivariate Efficient Mixed Model Association Algorithm
CPdata

Genotypic and Phenotypic data for a CP population
E.mat

Epistatic relationship matrix
MNR

Multivariate Newton-Raphson Algorithm
adiag1

Binds arrays corner-to-corner
RICE

Rice lines dataset
PolyData

Genotypic and Phenotypic data for a potato polyploid population
Technow_data

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

Dominance relationship matrix
GWAS2

Genome Wide Association Analysis
anova.MMERM

anova form a GLMM fitted with mmer
HDdata

half diallel data for corn hybrids