Learn R Programming

DOQTL (version 1.8.0)

add.missing.F1s: 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.

Examples

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

Run the code above in your browser using DataLab