update_missing: Update missing information

View source: R/utils.R

update_missingR Documentation

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(s)

Marcelo Mollinari, mmollin@ncsu.edu

Examples


data.updated = update_missing(hexafake.geno.dist, prob.thres = 0.5)
print(hexafake.geno.dist)
print(data.updated)


mappoly documentation built on Jan. 6, 2023, 1:16 a.m.