recognize_scenario: Recognize a scenario from an ihist

Description Usage Arguments Details

View source: R/scenarios.R

Description

Given a scenario mapping and an ihist, this function will detect what scenario the given ihist represents.

Usage

1
recognize_scenario(ihist, scenario_mapping = NULL)

Arguments

ihist

The ihist from which the scenario must be detected.

scenario_mapping

A list of lists where the names in the outer list names the scenarios and the inner lists provides the test patterns that are associated with that scenario. If no scenario_mapping is specified, the AMP Taqman/Architect mapping will be used.

Details

Note that this function will apply the 'select_most_informative_results' function to the ihist, so that places some limits on how exotic the scenario description can be.

TODO: This function will be much more useful if it is extended to handle different assays that may produce the same result. For example, allowing the scenario 1 case to be defined by a negative on with Taqman or Abbott Real Time.


philliplab/tsic documentation built on June 26, 2020, 7:55 p.m.