pychromvar.get_bg_peaks

pychromvar.get_bg_peaks(data: AnnData | MuData, niterations=50, n_jobs=-1)

Find background peaks based on GC bias and number of reads per peak

Parameters:
dataUnion[AnnData, MuData]

AnnData object with peak counts or MuData object with ‘atac’ modality

niterationsint, optional

Number of background peaks to sample,, by default 50

n_jobsint, optional

Number of cpus for compute. If set to -1, all cpus will be used, by default -1

Returns:
updates data.