I’m using anpan_repeated_measures on presence-absence data with multiple samples per individual. I’ve run the profiles through other filtering pipelines, so I’ve turned anpan filtering off with filtering_method = “none”, but I see that in the function, kmeans filtering seems to be hardcoded here:
purrr::walk(bug_files, read_filter_write, metadata = metadata,
genomes_dir = genomes_dir, covariates = covariates,
outcome = outcome, filtering_method = "kmeans", minmax_thresh = minmax_thresh,
sample_wise_filter_stats_dir = sample_wise_filter_stats_dir,
plot_ext = "pdf")
and again in read_filter_write :
read_res = read_and_filter(bug_file = .x,
metadata = metadata,
genomes_file = genomes_file,
covariates = covariates,
outcome = outcome,
filtering_method = "kmeans",
minmax_thresh = minmax_thresh,
filter_stats_dir = sample_wise_filter_stats_dir,
plot_ext = "pdf")
would it be possible to turn this filtering off?