Learn R Programming

populationPDXdesign (version 1.0.3)

outcomeInSingleExperiment: Function to summarise the results for a single simulation representing one experiment

Description

This is an internal function. Please use cautiously if calling directly. From a simulation of a single experiment, the estimated response rate is determined and captured with the meta data (e.g. PDXn, PDXr) for that experiment. Example usage: outcomeInSingleExperiment(df=outcomeInSingleExperiment_1, PDXn=8, PDXr=3, C_Acc=0.95, Biol_RR=30)

Usage

outcomeInSingleExperiment(df, PDXn, PDXr, C_Acc, Biol_RR)

Arguments

df

data frame from callsInSingleExperiment

PDXn

PDXn

PDXr

PDXr

C_Acc

the classification accuracy (numeric value between 0 and 1)

Biol_RR

Biol_RR

Value

a vector with 8 values that captures the input design and the estimated response rate for that design from a single simulation