This is an internal function. Please use cautiously if calling directly.
Samples some animals and classify as responders or non-responders based on number of models studied (PDXn), number of mice measured per model (PDXr), the classification accuracy (C_Acc) and the underlying biological response rate (Biol_RR).
Example usage: callsInSingleExperiment(PDXn=8, PDXr=3, C_Acc=0.95, Biol_RR=30)
callsInSingleExperiment(PDXn, PDXr, C_Acc, Biol_RR)
number of PDX models studied
number of mice measured per PDX model
classification accuracy
underlying biological response rate for this treatment
dataframe with three columns:
- PDXModel is a string that indicates the model id
- PDXclassification is a numeric value that indicates the true biological classification of that PDX - 0 equal non-responder and 1 equal responder
- StudyResult is a numeric value that indicates the classification of the PDX model after sampling - 0 equal non-responder and 1 equal responder