| editraw {hsrecombi} | R Documentation |
Editing results of hsrecombi
Description
Process raw results from hsrecombi, decide which out of
two sets of estimates is more likely and prepare list of final results
Usage
editraw(Roh, map1)
Arguments
Roh |
list of raw results from |
map1 |
data.frame containing information on physical map, at least:
|
Value
final table of results
SNP1index 1. SNP
SNP2index 2. SNP
Dmaternal LD
fAAfrequency of maternal haplotype 1-1
fABfrequency of maternal haplotype 1-0
fBAfrequency of maternal haplotype 0-1
fBBfrequency of maternal haplotype 0-0
p1Maternal allele frequency (allele 1) at
SNP1p2Maternal allele frequency (allele 1) at
SNP2nfam1size of genomic family 1
nfam2size of genomic family 2
error0 if computations were without error; 1 if EM algorithm did not converge
iterationnumber of EM iterations
thetapaternal recombination rate
r2r^2of maternal LDlogLvalue of log likelihood function
unimodal1 if likelihood is unimodal; 0 if likelihood is bimodal
critical0 if parameter estimates were unique; 1 if parameter estimates were obtained via decision process
locus_Mbphysical distance between SNPs in Mbp
Examples
### test data
data(targetregion)
### make list for paternal half-sib families
hap <- makehaplist(daughterSire, hapSire)
### parameter estimates on a chromosome
res <- hsrecombi(hap, genotype.chr)
### post-processing to achieve final and valid set of estimates
final <- editraw(res, map.chr)