allele.report.peaks: likeLTD::allele.report.peaks

Description Usage Arguments Details Examples

View source: R/reports-peaks.R

Description

Outputs a docx summary of the data inputs, to assist the user in choosing parameter inputs for a full evaluation

Usage

1
allele.report.peaks(admin,file=NULL, figRes=300, dropinThresh=3)

Arguments

admin

List containing administration data for peak heights inputs, as packed by pack.admin.input.peaks()

file

A file name for the allele report. By default a sequential filename is created to avoid accidental overwriting.

figRes

Resolution of figures in the allele report. Defaults to 300 DPI.

dropinThresh

If the estimated DNA contribution of Q is more than dropinThresh times the estimated DNA contribution of any unknown (estimated by k-means) then it will be suggested that that unknown contributor could be modelled as dropin instead.

Details

The allele report summarises the crime scene profile and the reference profiles, prior to the main statistical evaluation. Parameter inputs for nUnknowns and doDropin are suggested. The report is placed in the directory specified by admin$outputPath.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
# datapath to example files
datapath = file.path(system.file("extdata", package="likeLTD"),"laboratory")

# File paths and case name for allele report
admin = pack.admin.input.peaks(
            peaksFile = file.path(datapath, 'laboratory-CSP.csv'),
            refFile = file.path(datapath, 'laboratory-reference.csv'),
            caseName = "Laboratory",
            detectionThresh = 20
             )

# generate allele report
allele.report.peaks(admin)
## End(Not run)

likeLTD documentation built on May 1, 2019, 7:58 p.m.