Last data update: 2014.03.03

R: ML estimate of number of contributors for SNPs
wrapdataLR Documentation

ML estimate of number of contributors for SNPs

Description

Wrap up of dataL in forensim. Given file with columns: "No, Marker, Allele, Frequency and Height" the log likelihood for requested number of contributors is calculated. For now only "Frequency" column is used.

Usage

wrapdataL(fil , plotte , nInMixture , tit )

Arguments

fil

Input file

plotte

If T, plot

nInMixture

Alternatives for number of contributors, say 1:5

tit

Title to be used in plot

Value

Plot (optional) and log likelihoods

Author(s)

Thore Egeland Thore.Egeland@medisin.uio.no

Examples

aa<-simMixSNP(nSNP=5,writeFile=TRUE,outfile="sim.txt",ncont=3) #Simulates data
res<-wrapdataL(fil="sim.txt") # Calculates and plots

Results