power.detect.celltype: Power calculation for cell type identification

View source: R/power.R

power.detect.celltypeR Documentation

Power calculation for cell type identification

Description

Calculate probability to detect at least min.num.cells of a cell type with class frequency cell.type.frac in a sample of size nCells. for each of nSamples individual

Usage

power.detect.celltype(nCells, min.num.cells, cell.type.frac, nSamples)

Arguments

nCells

Number of cells measured for each individuum

min.num.cells

Minimal number of the cells for the cell type of interest that should be detected

cell.type.frac

Frequency of the cell type of interest

nSamples

Sample size

Value

Power to detect the cell type of interest


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