Learn R Programming

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

qgg

An R package for Quantitative Genetic and Genomic analyses

qgg provides an infrastructure for efficient processing of large-scale genetic and phenotypic data including core functions for: * fitting linear mixed models * constructing marker-based genomic relationship matrices * estimating genetic parameters (heritability and correlation) * performing genomic prediction and genetic risk profiling * single or multi-marker association analyses

The qgg package was developed based on the hypothesis that certain regions on the genome, so-called genomic features, may be enriched for causal variants affecting the trait. Several genomic feature classes can be formed based on previous studies and different sources of information including genes, chromosomes, biological pathways, gene ontologies, sequence annotation, prior QTL regions, or other types of external evidence.

The qgg package provides a range of genomic feature modeling approaches implemented using likelihood or Bayesian methods. Genomic feature best linear unbiased prediction (GFBLUP) models can be fitted. We have extended these models to include multiple features and multiple traits. Different genetic models (e.g. additive, dominance, gene by gene and gene by environment interactions) can be used. Further extensions include a weighted GFBLUP model using differential weighting of the individual genetic marker relationships. Furthermore we have implemented a number of marker set tests. These approaches are computationally very fast allowing rapid analyses of different layers of genomic feature classes to discover genomic features potentially enriched for causal variants. Such information can be used to built more accurate prediction models.

Copy Link

Version

Install

install.packages('qgg')

Monthly Downloads

317

Version

1.1.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 8th, 2022

Functions in qgg (1.1.1)

gblup

Compute Genomic BLUP values
getG

Extract elements from genotype matrix stored on disk
gbayes

Bayesian linear regression models
acc

Compute prediction accuracy for a quantitative or binary trait
computeROC

Compute Receiver Operating Curve statistics
auc

Compute AUC
getGRM

Extract elements from genomic relationship matrix (GRM) stored on disk
adjLDStat

Check concordance between marker effect and sparse LD matrix.
adjLD

LD pruning of summary statistics
adjStat

LD adjustment of marker summary statistics
getLDsets

Get marker LD sets
getLD

Get sparse LD matrix
gfilter

Quality control of marker summary statistics
getMarkers

Get marker rsids in a genome region
gscore

Genomic scoring based on single marker summary statistics
gsea

Gene set enrichment analysis
greml

GREML analysis
grm

Computing the genomic relationship matrix (GRM)
glma

Single marker association analysis using linear models or linear mixed models
mtadj

Adjust marker effects based on correlated information
gprep

Prepare genotype data for all statistical analyses (initial step)
hwe

Perform Hardy Weinberg Equilibrium Test
ldsc

LD score regression
gsim

Genomic simulation
predict_auc_st

Expected AUC for prediction of a binary trait
gsolve

Solve linear mixed model equations
qgg

Implements Genomic Feature Linear Mixed Models using Likelihood or Bayesian Methods
predict_r2_mt

Expected R2 for multiple trait prediction of continuous traits
rnag

Compute Nagelkerke R2
plotBayes

Plot fit from gbayes
plotForest

Forest plot
mapStat

Map marker summary statistics to Glist
predict_auc_mt_cc

Expected AUC for prediction of a binary trait using information on correlated binary trait
mergeGRM

Merge multiple GRMlist objects
predict_auc_mt_continous

Expected AUC for prediction of a binary trait using information on a correlated continuous trait
predict_r2_st

Expected R2 for single trait prediction of a continuous trait
qcStat

Quality control of marker summary statistics
plotROC

Plot Receiver Operating Curves