sainsc.LazyKDE.kde
- sainsc.LazyKDE.kde(gene, *, threshold=None)
Calculate kernel density estimate (KDE).
The kernel will be used from
sainsc.LazyKDE.kernel.- Parameters:
gene (Sequence[str]) – List of genes for which to calculate the KDE.
threshold (float, optional) – Relative threshold of maximum of the kernel that is used to filter beads. All values below \(threshold * max(kernel)\) are set to 0. Filtering is done after calculating the KDE which sets it apart from reducing truncate.
See also