wrapdataL: ML estimate of number of contributors for SNPs

Description Usage Arguments Value Author(s) Examples

View source: R/wrapdataL.R

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

1
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

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

forensim documentation built on May 2, 2019, 6:09 p.m.

Related to wrapdataL in forensim...