Learn R Programming

mappoly (version 0.3.3)

update_missing: Update missing information

Description

Updates the missing data in the dosage matrix of an object of class mappoly.data given a new probability threshold

Usage

update_missing(input.data, prob.thres = 0.95)

Arguments

input.data

an object of class mappoly.data

prob.thres

probability threshold to associate a marker call to a dosage. Markers with maximum genotype probability smaller than 'prob.thres' are considered as missing data for the dosage calling purposes

Author

Marcelo Mollinari, mmollin@ncsu.edu

Examples

Run this code
# \donttest{
data.updated = update_missing(hexafake.geno.dist, prob.thres = 0.5)
print(hexafake.geno.dist)
print(data.updated)
# }

Run the code above in your browser using DataLab