SAMPLE: Sample Size Determination

Description Usage Arguments Value

View source: R/Analysis.R

Description

This function calculates the minimum sample size required for your assay with varying paremeters, such as simulated effect size and TypeI/TypeII error rates. This can be completed using .XML or .CSV file formats.

Usage

1
2
3
SAMPLE(Pos.file = NULL, Neg.file = NULL, Roy.file = NULL,
  Excel.file = NULL, effect.size = NULL, bg.ratio = NULL,
  dic.output = NULL)

Arguments

Pos.file

A .xml file derived from your positive control condition, i.e., that with the highest value.

Neg.file

A .xml file derived from your negative control condition, i.e., that with the lowest value.

Roy.file

A .xml file of raw signal values from a 96-well plate of non-transgenic Roy larvae.

Excel.file

A .xlsx file derived manually containing single columns of 'signal' from both positive and negative controls.

effect.size

A simulated effect size for virtual experiments (e.g., 0.75 is a compound that simulates 75 percents efficacy when compared to the positive control condition).

bg.ratio

Numerical minimal 'signal' cutoff value (arbitrary units) applied to isolate fluorescent/luminescent signal above this value. Default value is 3946.

dic.output

Output directory.Default is current working directory.

Value

SampleSize.csv A .csv file of minimum sample sizes required to observe simulated effect sizes based on varied TypeI/TypeII errors.


mummlab/ARQiv documentation built on May 23, 2019, 8:22 a.m.