calour.amplicon_experiment.AmpliconExperiment.filter_orig_reads

AmpliconExperiment.filter_orig_reads(minreads, **kwargs)[source]

Filter keeping only samples with >= minreads in the original reads column Note this function uses the _calour_original_abundance field rather than the current sum of sequences per sample. So if you start with a sample with 100 reads, normalizing and filtering with other functions with not change the original reads column (which will remain 100). If you want to filter based on current total reads, use filter_by_data() instead

Parameters:minreads (numeric) – Keep only samples with >= minreads reads (when loaded - not affected by normalization)
Returns:
Return type:AmpliconExperiment - with only samples with enough original reads