wrapdataL: ML estimate of number of contributors for SNPs

View source: R/wrapdataL.R

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

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

## End(Not run)

hindantation/forensim documentation built on Oct. 8, 2022, 4:42 a.m.