find.mixups: Find sample mix-ups

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/find.mixups.R

Description

Finding possible sample mix-ups in the data.

Usage

1
  find.mixups(population,map=c("genetic","physical"),n.qtls=50,threshold=15,verbose=FALSE)

Arguments

population

An object of class population. See create.population for details.

map

Which map should be used to determine the ordering / positions of original markers.

n.qtls

Number of qtls that we use for scanning for mix-ups.

threshold

When an individual is not matching the expected genotype more the x % of the time. The individual should be considered as being a mix-up.

verbose

Be verbose.

Details

After scanning for the requested number of QTLs, each individual is checked if their genotype is matching the expected genotype. If an individuals expression value is not in the range of the expected genotype (mean - 3*sd, mean+3*sd), it's receives a penaltie. After which the individuals above the threshold are being printed with a warning about possible mix-up.

Value

An vector with for each individual a percentage that shows how many times an individual didn't match the expected genotype.

Author(s)

Konrad Zych k.zych@rug.nl, Danny Arends Danny.Arends@gmail.com Maintainer: Konrad Zych k.zych@rug.nl

See Also

Examples

1
2
3
	data(testPopulation)
  scores <- find.mixups(testPopulation,map="genetic",n.qtls=10,threshold=5,verbose=FALSE)
  plot(scores[[2]])

pheno2geno documentation built on May 2, 2019, 6:35 a.m.