From bddea5cc3ad5e0e67810b1900f03a9800b6a0788 Mon Sep 17 00:00:00 2001 From: Celio Santos-Jr Date: Thu, 4 Apr 2024 10:55:47 -0300 Subject: [PATCH] FIX correct proportion for core Outdated value, fixing 90% threshold to 95% threshold. --- General_Scripts/07_taxonomy_core_analysis/utils/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/General_Scripts/07_taxonomy_core_analysis/utils/core.py b/General_Scripts/07_taxonomy_core_analysis/utils/core.py index 0131413..f3968ad 100644 --- a/General_Scripts/07_taxonomy_core_analysis/utils/core.py +++ b/General_Scripts/07_taxonomy_core_analysis/utils/core.py @@ -8,7 +8,7 @@ def classificationprop(x): Classify the prevalence percent into different categories ''' - if x >= 90: return 'core' + if x >= 95: return 'core' if x >= 50: return 'shell' if x < 50: return 'accessory'