calculateResultType: Calculate result type
Description
calculateResultType
calculate the result type for
samples.Usage
calculateResultType(data, dropoutT = NULL,
mixtureLimits = NULL, partialLimits = NULL,
subsetName = NA, markerSubset = NULL)
Arguments
data
a data frame containing at least the column
'Sample.Name'.
dropoutT
integer indicating the dropout
threshold.
mixtureLimits
integer or vector indicating
subtypes of 'Mixture'.
partialLimits
integer or vector indicating
subtypes of 'Partial'.
subsetName
string naming the subset of
'Complete'.
markerSubset
string with marker names defining the
subset of 'Complete'.
Value
- data.frame with columns 'Sample.Name','Type','Sub.Type'
Details
Calculates result types for samples in 'data'. Defined
types are: 'No result', 'Mixture', 'Partial', and
'Complete'. Subtypes can be defined by parameters. An
integer passed to 'dropoutT' defines a subtype of
'Complete' "Complete profile all peaks >dropoutT". An
integer or vector passed to 'mixtureLimits' define
subtypes of 'Mixture' "> [mixtureLimits] markers". An
integer or vector passed to 'partialLimits' define
subtypes of 'Partial' "> [partialLimits] peaks". A string
with marker names separated by pipe (|) passed to
'markerSubset' and a string 'subsetName' defines a
subtype of 'Partial' "Complete [subsetName]".