Learn R Programming

DOQTL (version 1.8.0)

generic.trans.probs: Generic transition probabilities

Description

Generic function to provide starting transition probabilities. Not ready for use in this version.

Usage

generic.trans.probs(states, snps, chr = c(1:19, "X"), sex = c("M", "F"))

Arguments

states
Character vector containing the genotype states coded as letters.
snps
Data.frame containing the marker locations. SNP ID, chromosome, Mb anc cM locations in columns 1 through 4, respectively.
chr
Character containing the chromosome to use.
sex
Character that is either FALSE or M indicating the sex. Only used on x chromosome.

Value

A matrix of transition probabilities between genotype states.

Details

This function is a placeholder for a more sophisticated algorithm to be developed later. It is an effort to provide a set of starting transition probabilities for mapping populations other than the DO.

See Also

do.trans.probs, cc.trans.probs

Examples

Run this code
  ## Not run:  generic.trans.probs(states, snps, chr = 1, sex = "M") 

Run the code above in your browser using DataLab