getParameter: Get Kit Parameters

Description Usage Arguments Details Value Examples

Description

Provides parameters for simulation for different STR kits and methods.

Usage

1
2
getParameter(kit = NULL, what = NA, method = NA, show.messages = FALSE,
  .kit.param = NULL, debug = FALSE)

Arguments

kit

string or integer specifying the kit.

what

string to specify which information to return. Default is 'NA' which return all info. Not case sensitive.

method

string to specify which method to return. Default is 'NA' which return all info. Not case sensitive.

show.messages

logical, default TRUE for printing messages to the R promt.

.kit.param

data frame, run function on a data frame instead of the parameters.txt file.

debug

logical indicating printing debug information.

Details

The function returns various information for kit and parameters specified in parameters.txt.

Value

vector of data frame with kit information.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
# Returns vector of available kits.
getParameter()

# Returns vector of all methods.
getParameter(what="methods")

# Returns methods for specified kit.
getParameter(kit="SGMPlus", what="methods")

# Returns vector of available options.
getParameter(what="options")

# Returns vector of markers for specified kit.
getParameter(kit="SGMPlus", what="Marker")

# Returns data frame of all information for specified kit and method.
getParameter(kit="SGMPlus", method = "Default")

pcrsim documentation built on May 2, 2019, 2:40 a.m.