pack.admin.input.peaks: likeLTD::pack.admin.input.peaks

Description Usage Arguments Examples

View source: R/reports-peaks.R

Description

Packs and verifies administrative information. Can be used as partial input for defence.hypothesis.peaks and prosecution.hypothesis.peaks

Usage

1
2
3
pack.admin.input.peaks(peaksFile, refFile, caseName='dummy',
                        databaseFile=NULL, kit=NULL, linkageFile=NULL,
                        detectionThresh=20,outputPath=getwd())

Arguments

peaksFile

Crime scene profile with peak height data

refFile

Reference profiles

caseName

Name of the current case

databaseFile

Path to the allele database

kit

Database to use if databaseFile not specified

linkageFile

Path to file with recombination rates for linked loci

outputPath

Path where the output should be stored. Defaults to current working directory.

detectionThresh

The detection threshold used to analyse peak heights from electrophoresis. This may be a single value, or a list of one value per locus. No peaks in the CSP should have a peak height below this value if a single value. No peaks in a given locus should have a peak height below the specified locus value.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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
             )

## End(Not run)

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