MyNixOS website logo
Description

Training Set Determination for Genomic Selection.

We propose an optimality criterion to determine the required training set, r-score, which is derived directly from Pearson's correlation between the genomic estimated breeding values and phenotypic values of the test set <doi:10.1007/s00122-019-03387-0>. This package provides two main functions to determine a good training set and its size.

TSDFGS

CRAN status R-CMD-check Lifecycle: stable

In this package, we provide two useful tools for determine a reasonable training set for genomic selection or prediction. In order to have a better prediction to the genomic This package provides two useful tools for determining a proper training set for genomic selection or prediction. In order to have a better prediction of the genomic estimated breeding values (GEBV), the training set should be optimized as highly genomic correlated with the test set as possible. Several criteria have been published previously, including:

Our research provides an alternative criterion, r-score, which is derived from Pearson's correlation between GEBVs and phenotypic values of a test set. We could determine both a reasonable training set size and an optimal training set for building a prediction model with the criteria. Both functions are provided in our package.

For more information on the method, please check our published article:

Installation

The development version of TSDFGS can be installed from GitHub (recommend):

# library(devtools)
install_github("oumarkme/TSDFGS", dependencies = TRUE, force = TRUE)

You may also install the stable version from CRAN, which the most recent function may not include.

install.packages("TSDFGS")
  • All functions were developed under r version 4.2.0 and tested in both version 3.6.3 and 4.1.1. However, we recommend you to use this package with R version > 3.6.3.
  • Rcpp and RcppEigen were used in the package. In addition, the core C++ scripts were published on GitHub for those who want a better performance.

Main functions

  • r_score: Function for calculating r-score (more).
  • pev_score: Function for calculating PEV score (more).
  • cd_score: Function for Calculating CD score (more).
  • optTrain: Function for determining optimal training set (more).
  • SSDFGS: Function for determining reasonable training set size (more).

Example dataset

An example data provided for testing this package. The rice genome data was published by Zhao et al. (2011) in their research. Raw dataset is available at the Rice Diversity website. Pre-arranged dataset is available in this GitHub repository and you may loaded in R by

load(url("https://github.com/oumarkme/TSDFGS/raw/main/data/rice.RData"))
Metadata

Version

2.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows