Learn R Programming

selectSNPs (version 1.0.1)

scoreE: Compute the E score

Description

This function computes the average Shannon entropy (E score) as a measure of information for all the markers on one or more chromosome.

Usage

scoreE(object, ...)

# S4 method for Chrom scoreE(object)

# S4 method for Map scoreE(object, chrom)

Arguments

object

An input object, which can be a vector of map positions, a Chrom object, or a Map object.

...

Extra input parameters, as needed.

chrom

Names of the chromosomes for which the E score is to be computed; Optional.

Value

The computed E score of the input object.

References

1. Wu XL, Li H, Ferretti R, Simpson B, Walker J, Parham J, Mastro L, Qiu J, Schultz T, Tait RG Jr, Bauck S, (2010). A unified local objective function for optimally selecting SNPs on arrays for agricultural genomics applications. Anim Genet. 2020 Jan 31. doi: 10.1111/age.12916.

2. Wu XL, Xu J, Feng G, Wiggans GR, Taylor JF, He J, Qian C, Qiu J, Simpson B, Walker J, Bauck S. (2016) Optimal Design of Low-Density SNP Arrays for Genomic Prediction: Algorithm and Applications. PLoS One. 11(9):0161719. doi: 10.1371/journal.pone.0161719.

Examples

Run this code
# NOT RUN {
data(bov80K)
scoreE(bov80K)

# }

Run the code above in your browser using DataLab