@@ -186,7 +186,7 @@
How to apply EUCAST rules
Matthijs S. Berends
- 07 March 2020
+ 14 March 2020
EUCAST.Rmd
diff --git a/docs/articles/PCA.html b/docs/articles/PCA.html
index ced3dfc4..a55921b4 100644
--- a/docs/articles/PCA.html
+++ b/docs/articles/PCA.html
@@ -39,7 +39,7 @@
AMR (for R)
- 1.0.1.9000
+ 1.0.1.9004
@@ -186,7 +186,7 @@
How to conduct principal component analysis (PCA) for AMR
Matthijs S. Berends
- 07 March 2020
+ 14 March 2020
PCA.Rmd
diff --git a/docs/articles/PCA_files/figure-html/unnamed-chunk-6-1.png b/docs/articles/PCA_files/figure-html/unnamed-chunk-6-1.png
index 1f655d7f..db8eb744 100644
Binary files a/docs/articles/PCA_files/figure-html/unnamed-chunk-6-1.png and b/docs/articles/PCA_files/figure-html/unnamed-chunk-6-1.png differ
diff --git a/docs/articles/PCA_files/figure-html/unnamed-chunk-7-1.png b/docs/articles/PCA_files/figure-html/unnamed-chunk-7-1.png
index 9d52bc29..5fca6abd 100644
Binary files a/docs/articles/PCA_files/figure-html/unnamed-chunk-7-1.png and b/docs/articles/PCA_files/figure-html/unnamed-chunk-7-1.png differ
diff --git a/docs/articles/benchmarks.html b/docs/articles/benchmarks.html
index db2efa6e..d35d7b99 100644
--- a/docs/articles/benchmarks.html
+++ b/docs/articles/benchmarks.html
@@ -39,7 +39,7 @@
AMR (for R)
- 1.0.1.9000
+ 1.0.1.9004
@@ -186,7 +186,7 @@
Benchmarks
Matthijs S. Berends
- 07 March 2020
+ 14 March 2020
benchmarks.Rmd
@@ -220,36 +220,21 @@
times = 10)
print(S.aureus, unit = "ms", signif = 2)
# Unit: milliseconds
-# expr min lq mean median uq max
-# as.mo("sau") 8.0 8.2 9.1 8.4 8.5 16
-# as.mo("stau") 37.0 40.0 51.0 52.0 60.0 76
-# as.mo("STAU") 36.0 38.0 58.0 60.0 68.0 100
-# as.mo("staaur") 8.2 8.4 9.5 8.6 8.9 14
-# as.mo("STAAUR") 8.2 8.3 15.0 9.2 14.0 53
-# as.mo("S. aureus") 13.0 21.0 64.0 21.0 45.0 260
-# as.mo("S aureus") 13.0 14.0 33.0 24.0 44.0 76
-# as.mo("Staphylococcus aureus") 4.7 4.8 9.9 6.8 7.9 42
-# as.mo("Staphylococcus aureus (MRSA)") 620.0 640.0 770.0 700.0 860.0 1100
-# as.mo("Sthafilokkockus aaureuz") 330.0 350.0 460.0 490.0 560.0 570
-# as.mo("MRSA") 8.1 8.3 14.0 12.0 13.0 48
-# as.mo("VISA") 24.0 25.0 34.0 26.0 38.0 59
-# as.mo("VRSA") 23.0 24.0 37.0 27.0 39.0 78
-# as.mo(22242419) 120.0 130.0 150.0 140.0 160.0 240
-# neval
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
-# 10
+# expr min lq mean median uq max neval
+# as.mo("sau") 8.9 9.3 9.6 9.6 9.9 10 10
+# as.mo("stau") 41.0 41.0 51.0 43.0 67.0 74 10
+# as.mo("STAU") 39.0 41.0 49.0 42.0 56.0 72 10
+# as.mo("staaur") 9.0 9.2 9.7 9.5 9.9 11 10
+# as.mo("STAAUR") 9.5 9.8 24.0 21.0 38.0 45 10
+# as.mo("S. aureus") 15.0 16.0 26.0 18.0 38.0 61 10
+# as.mo("S aureus") 15.0 15.0 17.0 16.0 17.0 21 10
+# as.mo("Staphylococcus aureus") 5.2 5.6 8.4 6.0 6.5 30 10
+# as.mo("Staphylococcus aureus (MRSA)") 640.0 690.0 710.0 710.0 720.0 760 10
+# as.mo("Sthafilokkockus aaureuz") 350.0 360.0 420.0 400.0 490.0 510 10
+# as.mo("MRSA") 9.2 9.3 16.0 10.0 10.0 49 10
+# as.mo("VISA") 25.0 27.0 46.0 56.0 57.0 60 10
+# as.mo("VRSA") 26.0 27.0 39.0 28.0 32.0 120 10
+# as.mo(22242419) 120.0 140.0 170.0 140.0 150.0 410 10
In the table above, all measurements are shown in milliseconds (thousands of seconds). A value of 5 milliseconds means it can determine 200 input values per second. It case of 100 milliseconds, this is only 10 input values per second.
To achieve this speed, the as.mo
function also takes into account the prevalence of human pathogenic microorganisms. The downside of this is of course that less prevalent microorganisms will be determined less fast. See this example for the ID of Methanosarcina semesiae (B_MTHNSR_SEMS
), a bug probably never found before in humans:
@@ -261,19 +246,19 @@
times = 10)
print(M.semesiae, unit = "ms", signif = 4)
# Unit: milliseconds
-# expr min lq mean median uq
-# as.mo("metsem") 1349.000 1352.000 1597.000 1411.000 1983.000
-# as.mo("METSEM") 1316.000 2146.000 2069.000 2226.000 2245.000
-# as.mo("M. semesiae") 13.330 14.110 32.960 21.840 53.090
-# as.mo("M. semesiae") 13.730 20.960 29.720 21.430 40.000
-# as.mo("Methanosarcina semesiae") 4.802 5.171 6.667 6.551 8.036
-# max neval
-# 2184.000 10
-# 2337.000 10
-# 62.780 10
-# 64.510 10
-# 8.735 10
-That takes 6.1 times as much time on average. We can conclude that looking up arbitrary codes of less prevalent microorganisms is the worst way to go, in terms of calculation performance. Full names (like Methanosarcina semesiae) are always very fast and only take some thousands of seconds to coerce - they are the most probable input from most data sets.
+# expr min lq mean median uq
+# as.mo("metsem") 1485.000 1507.000 1524.00 1519.000 1538.000
+# as.mo("METSEM") 1371.000 1495.000 1557.00 1567.000 1633.000
+# as.mo("M. semesiae") 16.010 16.310 25.38 16.480 42.840
+# as.mo("M. semesiae") 15.700 15.900 16.74 16.370 17.480
+# as.mo("Methanosarcina semesiae") 5.885 6.116 11.79 6.347 8.155
+# max neval
+# 1577.00 10
+# 1663.00 10
+# 48.53 10
+# 18.55 10
+# 32.92 10
+That takes 5.5 times as much time on average. We can conclude that looking up arbitrary codes of less prevalent microorganisms is the worst way to go, in terms of calculation performance. Full names (like Methanosarcina semesiae) are always very fast and only take some thousands of seconds to coerce - they are the most probable input from most data sets.
In the figure below, we compare Escherichia coli (which is very common) with Prevotella brevis (which is moderately common) and with Methanosarcina semesiae (which is uncommon):
Uncommon microorganisms take a lot more time than common microorganisms. To relieve this pitfall and further improve performance, two important calculations take almost no time at all: repetitive results and already precalculated results.
@@ -287,11 +272,11 @@
# keep only the unique ones
unique() %>%
# pick 50 of them at random
- sample(50) %>%
+ sample(50) %>%
# paste that 10,000 times
rep(10000) %>%
# scramble it
- sample()
+ sample()
# got indeed 50 times 10,000 = half a million?
length(x)
@@ -306,9 +291,9 @@
times = 100)
print(run_it, unit = "ms", signif = 3)
# Unit: milliseconds
-# expr min lq mean median uq max neval
-# mo_name(x) 564 605 673 630 657 1100 100
-So transforming 500,000 values (!!) of 50 unique values only takes 0.63 seconds (630 ms). You only lose time on your unique input values.
+# expr min lq mean median uq max neval
+# mo_name(x) 542 585 605 601 614 738 100
+So transforming 500,000 values (!!) of 50 unique values only takes 0.6 seconds (600 ms). You only lose time on your unique input values.
@@ -320,11 +305,11 @@
times = 10)
print(run_it, unit = "ms", signif = 3)
# Unit: milliseconds
-# expr min lq mean median uq max neval
-# A 6.58 6.590 7.340 6.630 6.780 13.00 10
-# B 13.50 13.700 18.700 13.900 14.600 60.80 10
-# C 0.72 0.863 0.917 0.898 0.935 1.26 10
-So going from mo_name("Staphylococcus aureus")
to "Staphylococcus aureus"
takes 0.0009 seconds - it doesn’t even start calculating if the result would be the same as the expected resulting value. That goes for all helper functions:
+# expr min lq mean median uq max neval
+# A 6.760 6.900 7.43 7.070 7.540 9.290 10
+# B 14.200 14.400 18.80 14.900 16.000 51.500 10
+# C 0.586 0.726 0.74 0.757 0.763 0.804 10
+So going from mo_name("Staphylococcus aureus")
to "Staphylococcus aureus"
takes 0.0008 seconds - it doesn’t even start calculating if the result would be the same as the expected resulting value. That goes for all helper functions:
run_it <- microbenchmark(A = mo_species("aureus"),
B = mo_genus("Staphylococcus"),
C = mo_name("Staphylococcus aureus"),
@@ -337,14 +322,14 @@
print(run_it, unit = "ms", signif = 3)
# Unit: milliseconds
# expr min lq mean median uq max neval
-# A 0.499 0.511 0.516 0.517 0.522 0.544 10
-# B 0.532 0.539 0.550 0.542 0.563 0.592 10
-# C 0.718 0.787 0.832 0.843 0.889 0.904 10
-# D 0.538 0.548 0.566 0.567 0.571 0.607 10
-# E 0.503 0.509 0.515 0.513 0.516 0.549 10
-# F 0.502 0.504 0.514 0.511 0.519 0.539 10
-# G 0.493 0.513 0.538 0.514 0.536 0.684 10
-# H 0.499 0.501 0.509 0.505 0.516 0.531 10
+# A 0.374 0.381 0.389 0.389 0.395 0.416 10
+# B 0.404 0.411 0.422 0.421 0.425 0.452 10
+# C 0.615 0.711 0.726 0.730 0.751 0.861 10
+# D 0.405 0.409 0.429 0.428 0.435 0.485 10
+# E 0.381 0.384 0.392 0.390 0.394 0.429 10
+# F 0.365 0.366 0.379 0.375 0.383 0.419 10
+# G 0.362 0.372 0.378 0.380 0.388 0.391 10
+# H 0.378 0.381 0.403 0.387 0.393 0.556 10
Of course, when running mo_phylum("Firmicutes")
the function has zero knowledge about the actual microorganism, namely S. aureus. But since the result would be "Firmicutes"
anyway, there is no point in calculating the result. And because this package ‘knows’ all phyla of all known bacteria (according to the Catalogue of Life), it can just return the initial value immediately.
@@ -371,13 +356,13 @@
print(run_it, unit = "ms", signif = 4)
# Unit: milliseconds
# expr min lq mean median uq max neval
-
# en 23.72 25.30 30.59 25.77 26.99 76.03 100
-
# de 24.88 26.81 31.11 27.47 28.93 69.86 100
-
# nl 30.65 32.77 38.07 33.70 35.23 74.79 100
-
# es 24.89 26.33 32.10 27.13 28.87 68.79 100
-
# it 24.78 26.72 33.51 27.53 28.91 166.60 100
-
# fr 24.84 26.58 31.50 27.13 28.29 67.38 100
-
# pt 24.88 26.58 32.38 27.50 29.20 79.30 100
+# en 24.76 26.92 35.44 27.70 31.93 143.10 100
+# de 26.46 28.18 33.90 29.51 30.51 64.85 100
+# nl 32.40 34.89 39.79 35.94 37.28 75.95 100
+# es 26.41 28.80 34.46 29.56 31.58 67.56 100
+# it 26.44 28.52 35.22 29.30 30.37 156.00 100
+# fr 26.24 28.09 34.78 29.52 31.23 65.88 100
+# pt 26.28 28.32 36.00 29.49 32.22 66.76 100
Currently supported are German, Dutch, Spanish, Italian, French and Portuguese.
diff --git a/docs/articles/benchmarks_files/figure-html/unnamed-chunk-4-1.png b/docs/articles/benchmarks_files/figure-html/unnamed-chunk-4-1.png
index f86f4ef2..c7db6200 100644
Binary files a/docs/articles/benchmarks_files/figure-html/unnamed-chunk-4-1.png and b/docs/articles/benchmarks_files/figure-html/unnamed-chunk-4-1.png differ
diff --git a/docs/articles/benchmarks_files/figure-html/unnamed-chunk-6-1.png b/docs/articles/benchmarks_files/figure-html/unnamed-chunk-6-1.png
index 3eec84dd..4fa5b80c 100644
Binary files a/docs/articles/benchmarks_files/figure-html/unnamed-chunk-6-1.png and b/docs/articles/benchmarks_files/figure-html/unnamed-chunk-6-1.png differ
diff --git a/docs/articles/index.html b/docs/articles/index.html
index 28f4f619..db7952b8 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -78,7 +78,7 @@
AMR (for R)
- 1.0.1.9002
+ 1.0.1.9004
diff --git a/docs/authors.html b/docs/authors.html
index beceee87..1ef3c8a5 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -78,7 +78,7 @@
AMR (for R)
- 1.0.1.9002
+ 1.0.1.9004
diff --git a/docs/countries.png b/docs/countries.png
index e9e82ee6..62084e3f 100644
Binary files a/docs/countries.png and b/docs/countries.png differ
diff --git a/docs/countries_large.png b/docs/countries_large.png
index 24b75f2c..1756232f 100644
Binary files a/docs/countries_large.png and b/docs/countries_large.png differ
diff --git a/docs/index.html b/docs/index.html
index b33d8bda..6a5263fd 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -43,7 +43,7 @@
AMR (for R)
- 1.0.1.9002
+ 1.0.1.9004
@@ -204,8 +204,8 @@ A methods paper about this package has been preprinted at bioRxiv (DOI: 10.1101/
- Used in almost 100 countries
- Since its first public release in early 2018, this package has been downloaded over 25,000 times from 99 countries (as of February 2020, CRAN logs). Click the map to enlarge.
+
Used in more than 100 countries
+ Since its first public release in early 2018, this package has been downloaded from more than 100 countries
(as of March 2020, CRAN logs). Click the map to enlarge, to see the names of the countries.
@@ -240,6 +240,7 @@ A methods paper about this package has been preprinted at bioRxiv (DOI: 10.1101/
Getting SNOMED codes of a microorganism, or get its name associated with a SNOMED code (manual)
Getting LOINC codes of an antibiotic, or get its name associated with a LOINC code (manual)
Machine reading the EUCAST and CLSI guidelines from 2011-2020 to translate MIC values and disk diffusion diameters to R/SI (link)
+
Principal component analysis for AMR (tutorial)
This package is ready-to-use for specialists in many fields:
@@ -272,8 +273,8 @@ A methods paper about this package has been preprinted at bioRxiv (DOI: 10.1101/
Latest development version
The latest and unpublished development version can be installed with (precaution: may be unstable):
-
+
diff --git a/docs/news/index.html b/docs/news/index.html
index c6d9537c..042428a0 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -78,7 +78,7 @@
AMR (for R)
- 1.0.1.9002
+ 1.0.1.9004
@@ -226,13 +226,13 @@
-
+
-
+
-Last updated: 08-Mar-2020
+Last updated: 14-Mar-2020
@@ -242,6 +242,13 @@
Plotting biplots for principal component analysis using the new ggplot_pca()
function
+
+
+Other
+
+- Support for the upcoming
dplyr
version 1.0.0
+
+
@@ -332,9 +339,9 @@
-
+
-Other
+
Other
- Add a
CITATION
file
- Full support for the upcoming R 4.0
@@ -432,9 +439,9 @@
-
+
-Other
+
Other
- Rewrote the complete documentation to markdown format, to be able to use the very latest version of the great Roxygen2, released in November 2019. This tremously improved the documentation quality, since the rewrite forced us to go over all texts again and make changes where needed.
- Change dependency on
clean
to cleaner
, as this package was renamed accordingly upon CRAN request
@@ -586,9 +593,9 @@
- Added more MIC factor levels (
as.mic()
)
-
+
-Other
+
Other
- Added Prof. Dr. Casper Albers as doctoral advisor and added Dr. Judith Fonville, Eric Hazenberg, Dr. Bart Meijer, Dr. Dennis Souverein and Annick Lenglet as contributors
- Cleaned the coding style of every single syntax line in this package with the help of the
lintr
package
@@ -669,9 +676,9 @@
-
+
-Other
+
Other
- Fixed a note thrown by CRAN tests
@@ -765,9 +772,9 @@
Fix for mo_shortname()
where species would not be determined correctly
-
+
-Other
+
Other
- Support for R 3.6.0 and later by providing support for staged install
@@ -1012,9 +1019,9 @@
- if using different lengths of pattern and x in
%like%
, it will now return the call
-
+
-Other
+
Other
- Updated licence text to emphasise GPL 2.0 and that this is an R package.
@@ -1129,9 +1136,9 @@
Percentages will now will rounded more logically (e.g. in freq
function)
-
+
-Other
+
Other
- New dependency on package
crayon
, to support formatted text in the console
- Dependency
tidyr
is now mandatory (went to Import
field) since portion_df
and count_df
rely on it
@@ -1264,9 +1271,9 @@
-
+
-Other
+
Other
- More unit tests to ensure better integrity of functions
@@ -1393,9 +1400,9 @@
Other small fixes
-
+
-Other
+
Other
- Added integration tests (check if everything works as expected) for all releases of R 3.1 and higher
@@ -1455,9 +1462,9 @@
- Functions
as.rsi
and as.mic
now add the package name and version as attributes
-
+
-Other
+
Other
- Expanded
README.md
with more examples
- Added ORCID of authors to DESCRIPTION file
@@ -1494,7 +1501,7 @@
Contents
- - 1.0.1.9002
+ - 1.0.1.9004
- 1.0.1
- 1.0.0
- 0.9.0
diff --git a/docs/reference/AMR.html b/docs/reference/AMR.html
index 330bf9a6..91c40e8f 100644
--- a/docs/reference/AMR.html
+++ b/docs/reference/AMR.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+ -
+
+
+
+ Conduct principal component analysis for AMR
+
+
-
@@ -245,6 +252,7 @@
Getting SNOMED codes of a microorganism, or get its name associated with a SNOMED code
Getting LOINC codes of an antibiotic, or get its name associated with a LOINC code
Machine reading the EUCAST and CLSI guidelines from 2011-2020 to translate MIC values and disk diffusion diameters to R/SI
+Principal component analysis for AMR
Read more on our website!
diff --git a/docs/reference/WHONET.html b/docs/reference/WHONET.html
index b268ad16..666cb482 100644
--- a/docs/reference/WHONET.html
+++ b/docs/reference/WHONET.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+
+
+
+
+ Conduct principal component analysis for AMR
+
+
@@ -258,6 +265,7 @@
Date of data entry
Date this data was entered in WHONET
AMP_ND10:CIP_EE
27 different antibiotics. You can lookup the abbreviatons in the antibiotics data set, or use e.g. ab_name("AMP")
to get the official name immediately. Before analysis, you should transform this to a valid antibiotic class, using as.rsi()
.
+
Read more on our website!
diff --git a/docs/reference/age.html b/docs/reference/age.html
index 1312693c..83120572 100644
--- a/docs/reference/age.html
+++ b/docs/reference/age.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1.9000
+ 1.0.1.9004
@@ -117,9 +117,9 @@
-
+
- Conduct Principal Component Analysis for AMR
+ Conduct principal component analysis for AMR
diff --git a/docs/reference/age_groups.html b/docs/reference/age_groups.html
index 1d52932e..3eaf4d2a 100644
--- a/docs/reference/age_groups.html
+++ b/docs/reference/age_groups.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1.9000
+ 1.0.1.9004
@@ -117,9 +117,9 @@
-
+
- Conduct Principal Component Analysis for AMR
+ Conduct principal component analysis for AMR
diff --git a/docs/reference/antibiotics.html b/docs/reference/antibiotics.html
index e101b856..12c86cdb 100644
--- a/docs/reference/antibiotics.html
+++ b/docs/reference/antibiotics.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+
+
+
+
+ Conduct principal component analysis for AMR
+
+
@@ -232,7 +239,8 @@
- For the antibiotics data set: a data.frame
with 452 observations and 14 variables:
+
+For the antibiotics data set: a data.frame
with 452 observations and 14 variables:
+
+An object of class data.frame
with 102 rows and 9 columns.
Source
World Health Organization (WHO) Collaborating Centre for Drug Statistics Methodology (WHOCC): https://www.whocc.no/atc_ddd_index/
diff --git a/docs/reference/example_isolates.html b/docs/reference/example_isolates.html
index 062fef0d..b58598b2 100644
--- a/docs/reference/example_isolates.html
+++ b/docs/reference/example_isolates.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+
+
+
+
+ Conduct principal component analysis for AMR
+
+
@@ -242,6 +249,7 @@
mo
ID of microorganism created with as.mo()
, see also microorganisms
PEN:RIF
40 different antibiotics with class rsi
(see as.rsi()
); these column names occur in the antibiotics data set and can be translated with ab_name()
+
Read more on our website!
diff --git a/docs/reference/example_isolates_unclean.html b/docs/reference/example_isolates_unclean.html
index 53530d45..a255fb5c 100644
--- a/docs/reference/example_isolates_unclean.html
+++ b/docs/reference/example_isolates_unclean.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+
+
+
+
+ Conduct principal component analysis for AMR
+
+
@@ -237,6 +244,7 @@
bacteria
info about microorganism that can be transformed with as.mo()
, see also microorganisms
AMX:GEN
4 different antibiotics that have to be transformed with as.rsi()
+
Read more on our website!
diff --git a/docs/reference/ggplot_pca.html b/docs/reference/ggplot_pca.html
index 45cd4efb..bca92b67 100644
--- a/docs/reference/ggplot_pca.html
+++ b/docs/reference/ggplot_pca.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1.9002
+ 1.0.1.9004
diff --git a/docs/reference/index.html b/docs/reference/index.html
index d8e3cb48..d8493df6 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -78,7 +78,7 @@
AMR (for R)
- 1.0.1.9002
+ 1.0.1.9004
diff --git a/docs/reference/lifecycle.html b/docs/reference/lifecycle.html
index 665d5a72..f99abd00 100644
--- a/docs/reference/lifecycle.html
+++ b/docs/reference/lifecycle.html
@@ -81,7 +81,7 @@ This page contains a section for every lifecycle (with text borrowed from the af
AMR (for R)
- 1.0.1.9000
+ 1.0.1.9004
@@ -119,9 +119,9 @@ This page contains a section for every lifecycle (with text borrowed from the af
-
+
- Conduct Principal Component Analysis for AMR
+ Conduct principal component analysis for AMR
diff --git a/docs/reference/microorganisms.codes.html b/docs/reference/microorganisms.codes.html
index f8eb695e..689d14df 100644
--- a/docs/reference/microorganisms.codes.html
+++ b/docs/reference/microorganisms.codes.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+
+
+
+
+ Conduct principal component analysis for AMR
+
+
@@ -234,6 +241,7 @@
code
Commonly used code of a microorganism
mo
ID of the microorganism in the microorganisms data set
+
Catalogue of Life
diff --git a/docs/reference/microorganisms.html b/docs/reference/microorganisms.html
index f9f62c5a..36b8fa26 100644
--- a/docs/reference/microorganisms.html
+++ b/docs/reference/microorganisms.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+
+
+
+
+ Conduct principal component analysis for AMR
+
+
@@ -242,6 +249,7 @@
prevalence
Prevalence of the microorganism, see as.mo()
snomed
SNOMED code of the microorganism. Use mo_snomed()
to retrieve it quickly, see mo_property()
.
+
Source
Catalogue of Life: Annual Checklist (public online taxonomic database), http://www.catalogueoflife.org (check included annual version with catalogue_of_life_version()
).
diff --git a/docs/reference/microorganisms.old.html b/docs/reference/microorganisms.old.html
index ddcaef46..a5664749 100644
--- a/docs/reference/microorganisms.old.html
+++ b/docs/reference/microorganisms.old.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+
+
+
+
+ Conduct principal component analysis for AMR
+
+
@@ -237,6 +244,7 @@
ref
Author(s) and year of concerning scientific publication
prevalence
Prevalence of the microorganism, see as.mo()
+
Source
Catalogue of Life: Annual Checklist (public online taxonomic database), http://www.catalogueoflife.org (check included annual version with catalogue_of_life_version()
).
diff --git a/docs/reference/pca.html b/docs/reference/pca.html
index ca321567..f973c764 100644
--- a/docs/reference/pca.html
+++ b/docs/reference/pca.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1.9002
+ 1.0.1.9004
@@ -301,12 +301,12 @@
The pca()
function takes a data.frame as input and performs the actual PCA with the R function prcomp()
.
The result of the pca()
function is a prcomp object, with an additional attribute non_numeric_cols
which is a vector with the column names of all columns that do not contain numeric values. These are probably the groups and labels, and will be used by ggplot_pca()
.
-
Experimental lifecycle
+
Maturing lifecycle
-
-The lifecycle of this function is experimental. An experimental function is in the very early stages of development. The unlying code might be changing frequently as we rapidly iterate and explore variations in search of the best fit. Experimental functions might be removed without deprecation, so you are generally best off waiting until a function is more mature before you use it in production code. Experimental functions will not be included in releases we submit to CRAN, since they have not yet matured enough.
+
+The lifecycle of this function is maturing. The unlying code of a maturing function has been roughed out, but finer details might still change. We will strive to maintain backward compatibility, but the function needs wider usage and more extensive testing in order to optimise the unlying code.
Examples
# `example_isolates` is a dataset available in the AMR package.
@@ -334,7 +334,7 @@ The lifecycle of this function is experimen
Arguments
Value
Details
- Experimental lifecycle
+ Maturing lifecycle
Examples
diff --git a/docs/reference/rsi_translation.html b/docs/reference/rsi_translation.html
index b46ad1a2..4bae4fc2 100644
--- a/docs/reference/rsi_translation.html
+++ b/docs/reference/rsi_translation.html
@@ -79,7 +79,7 @@
AMR (for R)
- 1.0.1
+ 1.0.1.9004
@@ -115,6 +115,13 @@
Predict antimicrobial resistance
+