Calculate the result type for samples.
calculateResultType(
data,
kit = NULL,
add.missing.marker = TRUE,
threshold = NULL,
mixture.limits = NULL,
partial.limits = NULL,
subset.name = NA,
marker.subset = NULL,
debug = FALSE
)
data.frame with columns 'Sample.Name','Type', and 'Subtype'.
a data frame containing at least the column 'Sample.Name'.
character string or integer defining the kit.
logical, default is TRUE which adds missing markers.
integer indicating the dropout threshold.
integer or vector indicating subtypes of 'Mixture'.
integer or vector indicating subtypes of 'Partial'.
string naming the subset of 'Complete'.
string with marker names defining the subset of 'Complete'.
logical indicating printing debug information.
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 'threshold' defines a subtype of 'Complete' "Complete profile all peaks >threshold". An integer or vector passed to 'mixture.limits' define subtypes of 'Mixture' "> [mixture.limits] markers". An integer or vector passed to 'partial.limits' define subtypes of 'Partial' "> [partial.limits] peaks". A string with marker names separated by pipe (|) passed to 'marker.subset' and a string 'subset.name' defines a subtype of 'Partial' "Complete [subset.name]".