This is what I got with a reduced size test_phyloseq.rda dataset. It does not sound right to me, the elbow method should be more stringent as described by Shade and Stopnisek. However, I am not sure if it will be for any dataset, please see below @B-Kristy @B-Kristy
I reduce the samples for speed...
test_small_phyloseq <-
test_phyloseq %>%
subset_samples(site %in% "ESC") %>%
prune_samples(sample_sums(.) >= 1, .)
rarefied_data <-
parallel_rarefy(physeq = test_small_phyloseq,
depth_level = 500,
num_iter = 9,
threads = 8,
set_seed = 100)
physeq_samll_rare <-
do_phyloseq(physeq = test_small_phyloseq,
otu_rare = rarefied_data )
> core_ps_rare_inc<- parallel_extract_core(
+ physeq_samll_rare,
+ Var = "crop",
+ method = "increase",
+ increase_value = 2,
+ ncores = 10,
+ set_seed = 321
+ )
Seed used: 321
✔ Input phyloseq object is valid!
ℹ Dataset is rarefied at a depth of: 500
ℹ Group: not used.
ℹ Core calculated across: crop
ℹ Calculating BC dissimilarity based on the 1st ranked OTU
✔ BC dissimilarity based on the 1st ranked OTU complete
ℹ Calculating BC dissimilarity based on ranked OTUs, starting at 2025-09-10 11:54:10.495006
ℹ Running in serial
✔ BC ranks done!
ℹ Performing method 'increase'
✔ % increase method identified 4 core OTUs
✔ Analysis complete!
Got 4 core OTUs with increase method.
> core_ps_rare_elb <- parallel_extract_core(
+ physeq_samll_rare,
+ Var = "SampleType",
+ method = "elbow",
+ ncores = 10,
+ set_seed = 567
+ )
Seed used: 567
✔ Input phyloseq object is valid!
ℹ Dataset is rarefied at a depth of: 500
ℹ Group: not used.
ℹ Core calculated across: SampleType
ℹ Calculating BC dissimilarity based on the 1st ranked OTU
✔ BC dissimilarity based on the 1st ranked OTU complete
ℹ Calculating BC dissimilarity based on ranked OTUs, starting at 2025-09-10 11:55:11.251187
ℹ Running in serial
✔ BC ranks done!
ℹ Performing method 'elbow'
✔ Elbow method identified 112 core OTUs
✔ Analysis complete!
Got 112 OTUs with elbow mehod.
This is what I got with a reduced size
test_phyloseq.rdadataset. It does not sound right to me, the elbow method should be more stringent as described by Shade and Stopnisek. However, I am not sure if it will be for any dataset, please see below @B-Kristy @B-KristyI reduce the samples for speed...
Got 4 core OTUs with increase method.
Got 112 OTUs with elbow mehod.