Learn R Programming

pheno2geno (version 1.4.0)

find.mixups: Find sample mix-ups

Description

Finding possible sample mix-ups in the data.

Usage

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.

Value

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

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.

See Also

  • read.population - Load genotype, phenotype, genetic map data files into R environment into a population object.

  • cross.denovo - Create de novo genetic map or vector showing how chromosomes should be assigned.

  • cross.saturate - Saturate existing map.

  • find.diff.expressed - Using Rank Product or student t-test analysis to select differentially expressed genes.

Examples

Run this code
# NOT RUN {
	data(testPopulation)
  scores <- find.mixups(testPopulation,map="genetic",n.qtls=10,threshold=5,verbose=FALSE)
  plot(scores[[2]])
# }

Run the code above in your browser using DataLab