sampleSizeBudgetCalculation: Estimate possible sample size depending on the total cost and...

View source: R/power.R

sampleSizeBudgetCalculationR Documentation

Estimate possible sample size depending on the total cost and the other parameters for 10X design

Description

A balanced design with two classes is assumed for the sample size calculation.

Usage

sampleSizeBudgetCalculation(
  nCells,
  readDepth,
  totalCost,
  costKit,
  samplesPerLane,
  costFlowCell,
  readsPerFlowcell,
  reactionsPerKit = 6
)

Arguments

nCells

Cells per individual

readDepth

Read depth per cell

totalCost

Experimental budget

costKit

Cost for one 10X kit

samplesPerLane

Number of individuals sequenced per lane

costFlowCell

Cost of one flow cells for sequencing

readsPerFlowcell

Number reads that can be sequenced with one flow cell

reactionsPerKit

Reactions (=lanes) per kit, defines the total number of tested individuals per kit

Value

Number of samples that can be measured with this budget and other parameters


heiniglab/scPower documentation built on Jan. 9, 2025, 12:13 p.m.