Learn R Programming

cpgen (version 0.1)

Parallelized Genomic Prediction and GWAS

Description

Frequently used methods in genomic applications with emphasis on parallel computing (OpenMP). At its core, the package has a Gibbs Sampler that allows running univariate linear mixed models that have both, sparse and dense design matrices. The parallel sampling method in case of dense design matrices (e.g. Genotypes) allows running Ridge Regression or BayesA for a very large number of individuals. The Gibbs Sampler is capable of running Single Step Genomic Prediction models. In addition, the package offers parallelized functions for common tasks like genome-wide association studies and cross validation in a memory efficient way.

Copy Link

Version

Install

install.packages('cpgen')

Monthly Downloads

11

Version

0.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Claas Heuer

Last Published

September 15th, 2015

Functions in cpgen (0.1)

cGWAS

Genomewide Association Study
cmaf

cmaf
get_num_threads

Get the number of threads for cpgen
ccross

ccross
cSSBR.setup

Preparing Model terms for Single Step Bayesian Regression
cgrm

Genomic Relationship Matrices
cscanx

Read in a matrix from a file
Parallelization

Multithreading using cpgen
set_num_threads

Set the number of OpenMP threads used by the functions of package cpgen
%c%

(Parallel) Matrix product operator
rand_data

Generate random data for test purposes
cGWAS.emmax

Genomewide Association Study - EMMAX
cgrm.D

Dominance Genomic Relationship Matrix
cGBLUP

Genomic BLUP
cSSBR

Single Step Bayesian Regression
ccolmv

Colwise means or variances
cCV

Generate phenotype vectors for cross validation
check_openmp

Check OpenMP-support.
cscale_inplace

cscale_inplace
ccov

ccov
%**%

Square matrix power operator
get_cor

Compute the prediction accuracy from Cross Validition
cpgen-package

cpgen - Parallel genomic evaluations
csolve

csolve
get_pred

get_max_threads

Get the maximum number of threads available
cgrm.A

Additive Genomic Relationship Matrix
clmm

Linear Mixed Models using Gibbs Sampling