Learn R Programming

likeLTD (version 6.3.0)

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

Description

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

Usage

read.unc.profile(path)

Arguments

path

Path to the crime scene profile.

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.

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.

See Also

read.csp.profile, read.known.profiles

Examples

Run this code
# 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)
# }

Run the code above in your browser using DataLab