diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f9ca9a7..d014af19 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -84,12 +84,7 @@ coverage:
script:
- apt-get install --yes git
# codecov token is set in https://gitlab.com/msberends/AMR/settings/ci_cd
- - Rscript -e 'print("${codecov_token}")'
- - Rscript -e 'print("$codecov_token")'
- - Rscript -e 'print("$${codecov_token}")'
- - Rscript -e 'print("$$codecov_token")'
- - echo $codecov_token
- - Rscript -e 'cc <- covr::package_coverage(); covr::codecov(coverage = cc, token = "$$codecov_token"); cat("Code coverage:", covr::percent_coverage(cc))'
+ - Rscript -e "cc <- covr::package_coverage(); covr::codecov(coverage = cc, token = '$codecov'); cat('Code coverage:', covr::percent_coverage(cc))"
coverage: '/Code coverage: \d+\.\d+/'
pages:
diff --git a/docs/reference/as.mo.html b/docs/reference/as.mo.html
index a58be801..547eebbb 100644
--- a/docs/reference/as.mo.html
+++ b/docs/reference/as.mo.html
@@ -308,7 +308,8 @@ A microbial ID from this package (class: mo
) typically looks like t
Values that cannot be coered will be considered 'unknown' and have an MO code UNKNOWN
.
Use the mo_property_*
functions to get properties based on the returned code, see Examples.
All IDs that are found with zero uncertainty are saved to a local file ("~/.Rhistory_mo"
) to improve speed for every next time. Use clean_mo_history()
to delete this file, which resets the algorithms. Only previous results will be used from this version of the AMR
package, since the taxonomic tree may change in the future for any organism.
Self-learning algoritm
+The as.mo()
function gains experience from previously determined microbial IDs and learns from it. This drastically improves both speed and reliability. Use clean_mo_history()
to reset the algorithms. Only experience from your current AMR
package version is used. This is done because in the future the taxonomic tree (which is included in this package) may change for any organism and it consequently has to rebuild its knowledge. Usually, any guess after the first try runs 90-95% faster than the first try. The algorithm saves its previous findings to ~/.Rhistory_mo
.
Intelligent rules
This function uses intelligent rules to help getting fast and logical results. It tries to find matches in this order:
Valid MO codes and full names: it first searches in already valid MO code and known genus/species combinations