Tools: tl#

Functions for computing mutation spectra, calculating rates, and identifying mutation patterns.

Mutation spectra#

tl.compute_spectrum(adata[, count_strategy, ...])

Compute 96-channel mutation spectrum for each cell/sample or per private mutation group.

tl.compute_spectrum_from_mask([adata, ...])

Compute 96-channel mutation spectrum from a boolean mask of variants.

tl.normalize_spectrum(adata, key[, method, ...])

Normalize a mutation spectrum by various strategies.

Normalization#

tl.compute_callable_sites(adata, min_depth)

Compute the number of callable sites per cell/sample.

Pattern identification#

tl.private_mutations(adata[, groupby, ...])

Identify mutations that are private (unique) to each cell/sample or group.