Skip to contents

This implements local density filtering similar to the original cNMF

Usage

applyDensityFiltering(spectra_matrix, density_threshold = 0.5)

Arguments

spectra_matrix

Matrix of spectra (rows = spectra, cols = features)

density_threshold

Numeric, threshold for density filtering

Value

List with valid indices and density scores