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

View source: R/power.R

sampleSizeBudgetCalculation.restrictedDoubletsR Documentation

Estimate possible sample size depending on the total cost and the other parameters (with a restricted number of cells per lane)

Description

Variant of sampleSizeBudgetCalculation, which restricts the cells per lane instead the individuals per lane.

Usage

sampleSizeBudgetCalculation.restrictedDoublets(
  nCells,
  readDepth,
  totalCost,
  costKit,
  cellsPerLane,
  costFlowCell,
  readsPerFlowcell,
  reactionsPerKit = 6
)

Arguments

nCells

Cells per individual

readDepth

Read depth per cell

totalCost

Experimental budget

costKit

Cost for one 10X kit

cellsPerLane

Number of cells 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.