chromatin_embedding() (high-pass filtered log ratios to the all-cell leave-one-out reference, top principal
components) of the given cells on the used bins of an extraction directory, with the cell ids as row
names, ready for knn_pools(). Built from depth only (no copy-number features), as kNN pools require.
Arguments
- dir
extraction directory (bins_100kb.h5ad)
- cells
cells to embed (default all)
- use
logical bin filter over all bins of the sample (default
bin_filter()on chr1-22 + chrX)- n_pc
components
- hp_window
high-pass window (bins)
- seed
RNG seed of the truncated SVD (irlba's random start)