add.missing.F1s: Add Missing F1 Samples

View source: R/add.missing.F1s.R

add.missing.F1sR Documentation

Add Missing F1 Samples

Description

Given a set of CC or DO founders, impute the genotypes or intensities of missing F1s.

Usage

  add.missing.F1s(founders, snps, sampletype = c("DO", "CC", "DOF1", "HS", "other"))

Arguments

founders

List, required: Contains either an element called 'geno' or two elements called 'x' and 'y'.

snps

Data.frame, required: Data.frame containing the SNPs. SNP ID, chr, Mb and cM locations in columna 1 - 4, respectively.

sampletype

Character string, required: indicates the type of crss. One of "DO", "CC", "DOF1", "HS", "other".

Value

List with the founders data structure updated to include missing F1 samples.

Author(s)

Daniel Gatti

Examples

  ## Not run: 
    load(url("ftp://ftp.jax.org/MUGA/muga_snps.Rdata"))
    founders = add.missing.F1s(founders, snps = muga_snps)
  
## End(Not run)

dmgatti/DOQTL documentation built on April 7, 2024, 10:35 p.m.