Define noise based on the standard deviation of the reference cell expression data. The range to remove noise would be mean +- sdev * sd_amplifier where sd_amplifier expands the range around the mean to be removed as noise. Data points defined as noise are set to zero.
clear_noise_via_ref_mean_sd(infercnv_obj, sd_amplifier = 1.5)
infercnv_object
multiplicative factor applied to the standard deviation to alter the noise range (default: 1.5)