Learn R Programming

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

sommer (version 3.6)

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

7,425

Version

3.6

License

GPL-3

Maintainer

Giovanny Covarrubias-Pazaran

Last Published

October 8th, 2018

Functions in sommer (3.6)

hdm

Half Diallel Matrix
fdr2

False Discovery Rate calculation
EM

Expectation Maximization Algorithm
fdr

False Discovery Rate calculation
plot.variogram.MMERM

Default variogram.MMERM plotting
hits

Creating a fixed effect matrix with significant GWAS markers
Technow_data

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

plot form a LMM plot with mmer
summary.MMERM

summary form a GLMM fitted with mmer
spatPlots

Spatial plots
adiag1

Binds arrays corner-to-corner
MEMMA

Multivariate Efficient Mixed Model Association Algorithm
MNR

Multivariate Newton-Raphson Algorithm
blockerL

Applying linear postblocking in a field
augment

augment design example.
GWAS2

Genome Wide Association Analysis
coef.MMERM

coef form a GLMM fitted with mmer
HDdata

half diallel data for corn hybrids
bathy.colors

Generate a sequence of colors for plotting bathymetric data.
cornHybrid

Corn crosses and markers
atcg1234

Letter to number converter
anova.MMERM

anova form a GLMM fitted with mmer
blockerT

Applying transversal postblocking in a field
gryphondata

Gryphon data from the Journal of Animal Ecology
h2example

Broad sense heritability calculation.
fill.design

Filling the design of an experiment
h2.fun

Obtain heritabilities with three different methods
matrix.trace

The trace of a matrix
PolyData

Genotypic and Phenotypic data for a potato polyploid population
fitted.MMERM

fitted form a GLMM fitted with mmer
design.score

design score for the model to be tested
big.peaks.col

Peak search by first derivatives
vctable.help

vctable.help functionality
RICE

Rice lines dataset
vctable

vctable functionality
blocker

Applying postblocking in a field
example

Broad sense heritability calculation.
brewer.pal

Generate a sequence of colors for groups.
hadamard.prod

Hadamard product of two matrices
imputev

Imputing a numeric or character vector
manhattan

Creating a manhattan plot
map.plot

Creating a genetic map plot
nna

Nearest neighbour adjustment
my.colors

All typical colors in R easy to access.
maxi.qtl

Peak search by first derivatives
is.diagonal.matrix

Test for diagonal square matrix
mmer

mixed model equations in R
mmer2

mixed model equations in R
phase.F1

Phasing F1 (CP) data in biparental populations
build.HMM

Build a hybrid marker matrix using parental genotypes
score.calcMV

Score calculation for markers
transp

Creating color with transparency
variogram

Sample variogram
is.square.matrix

Test for square matrix
jet.colors

Generate a sequence of colors alog the jet colormap.
overlay

Overlay Matrix
sommer-package

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

Pedigree to matrix
pin

pin functionality
wheatLines

wheat lines dataset
randef

extracting random effects
yates.oats

Yield of oats in a split-block experiment
residuals.MMERM

Residuals form a GLMM fitted with mmer
E.mat

Epistatic relationship matrix
ExpDesigns

Data for different experimental designs
D.mat

Dominance relationship matrix
FDdata

Full diallel data for corn hybrids
CPdata

Genotypic and Phenotypic data for a CP population
F1geno

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

Blue Tit Data for a Quantitative Genetic Experiment
A.mat

Additive relationship matrix
GWAS

Genome Wide Association Analysis