read.unc.profile: likeLTD::read.unc.profile

Description Usage Arguments Details Value See Also Examples

View source: R/hypothesis.R

Description

Reads the uncertain alleles from the Crime Scene Profile from file.

Usage

1

Arguments

path

Path to the crime scene profile.

Details

The input is a CSV file. It is (or can be) the same file as for read.csv.profile. In this case, the lines labeled "Uncertain" are selected.

Value

A matrix where columns are loci and rows are replicates. Each element is a vector of character, and each character is the name of an allele which seems to be present but at a level too low for certainty in the CSP for that loci and replicate.

See Also

read.csp.profile, read.known.profiles

Examples

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

# File paths and case name for allele report
admin = pack.admin.input(
            cspFile = file.path(datapath, 'hammer-CSP.csv'),
            refFile = file.path(datapath, 'hammer-reference.csv'),
            caseName = "hammer",
	    kit= "SGMplus"
             )

# get uncertain profile
read.unc.profile(admin$cspFile)

## End(Not run)

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