Expected counts per bin and cell, and the log2 ratio of observed to expected (centred per cell). Every reference of a cell leaves that cell out.
loo: the pseudobulk of all other reference cells.celltype: the pseudobulk of the other reference cells of the same cell type; cells without a type, and types with fewer thanmin_cells_typereference cells, useloo. The normal-tissue reference: it removes the cell-type-specific chromatin signal in the depth.model: a robust Poisson GLM of the bin counts on GC content, mappability proxies and peak coverage, plus a per-cell GC trend. The tumour reference: it needs no copy-number-normal cells.
Usage
normalise_depth(
scn,
method = "loo",
use = NULL,
cell_type = NULL,
ref_cells = NULL,
min_cells_type = 20,
per_cell_gc = TRUE,
...
)Arguments
- scn
scn object
- method
"loo", "celltype" or "model"
- use
logical bin filter (default
bin_filter()on bins and counts)- cell_type
cell type per cell (default
scn$cells$cell_type)- ref_cells
optional selector of cells allowed as references (e.g. clean singlets)
- min_cells_type
celltype: types with fewer reference cells fall back to the global reference
- per_cell_gc
model: subtract a per-cell robust GC trend after the shared GLM
- ...
unused