AMR 3.0.0.9010__py3-none-any.whl → 3.0.0.9012__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
AMR/datasets.py CHANGED
@@ -12,7 +12,8 @@ os.makedirs(r_lib_path, exist_ok=True)
12
12
  os.environ['R_LIBS_SITE'] = r_lib_path
13
13
 
14
14
  from rpy2 import robjects
15
- from rpy2.robjects import pandas2ri
15
+ from rpy2.robjects.conversion import localconverter
16
+ from rpy2.robjects import default_converter, numpy2ri, pandas2ri
16
17
  from rpy2.robjects.packages import importr, isinstalled
17
18
 
18
19
  # Import base and utils
@@ -50,27 +51,26 @@ if r_amr_version != python_amr_version:
50
51
  print(f"AMR: Setting up R environment and AMR datasets...", flush=True)
51
52
 
52
53
  # Activate the automatic conversion between R and pandas DataFrames
53
- pandas2ri.activate()
54
-
55
- # example_isolates
56
- example_isolates = pandas2ri.rpy2py(robjects.r('''
57
- df <- AMR::example_isolates
58
- df[] <- lapply(df, function(x) {
59
- if (inherits(x, c("Date", "POSIXt", "factor"))) {
60
- as.character(x)
61
- } else {
62
- x
63
- }
64
- })
65
- df <- df[, !sapply(df, is.list)]
66
- df
67
- '''))
68
- example_isolates['date'] = pd.to_datetime(example_isolates['date'])
69
-
70
- # microorganisms
71
- microorganisms = pandas2ri.rpy2py(robjects.r('AMR::microorganisms[, !sapply(AMR::microorganisms, is.list)]'))
72
- antimicrobials = pandas2ri.rpy2py(robjects.r('AMR::antimicrobials[, !sapply(AMR::antimicrobials, is.list)]'))
73
- clinical_breakpoints = pandas2ri.rpy2py(robjects.r('AMR::clinical_breakpoints[, !sapply(AMR::clinical_breakpoints, is.list)]'))
54
+ with localconverter(default_converter + numpy2ri.converter + pandas2ri.converter):
55
+ # example_isolates
56
+ example_isolates = robjects.r('''
57
+ df <- AMR::example_isolates
58
+ df[] <- lapply(df, function(x) {
59
+ if (inherits(x, c("Date", "POSIXt", "factor"))) {
60
+ as.character(x)
61
+ } else {
62
+ x
63
+ }
64
+ })
65
+ df <- df[, !sapply(df, is.list)]
66
+ df
67
+ ''')
68
+ example_isolates['date'] = pd.to_datetime(example_isolates['date'])
69
+
70
+ # microorganisms
71
+ microorganisms = robjects.r('AMR::microorganisms[, !sapply(AMR::microorganisms, is.list)]')
72
+ antimicrobials = robjects.r('AMR::antimicrobials[, !sapply(AMR::antimicrobials, is.list)]')
73
+ clinical_breakpoints = robjects.r('AMR::clinical_breakpoints[, !sapply(AMR::clinical_breakpoints, is.list)]')
74
74
 
75
75
  base.options(warn = 0)
76
76
 
AMR/functions.py CHANGED
@@ -1,13 +1,12 @@
1
+ import functools
1
2
  import rpy2.robjects as robjects
2
3
  from rpy2.robjects.packages import importr
3
4
  from rpy2.robjects.vectors import StrVector, FactorVector, IntVector, FloatVector, DataFrame
4
- from rpy2.robjects import pandas2ri
5
+ from rpy2.robjects.conversion import localconverter
6
+ from rpy2.robjects import default_converter, numpy2ri, pandas2ri
5
7
  import pandas as pd
6
8
  import numpy as np
7
9
 
8
- # Activate automatic conversion between R data frames and pandas data frames
9
- pandas2ri.activate()
10
-
11
10
  # Import the AMR R package
12
11
  amr_r = importr('AMR')
13
12
 
@@ -25,10 +24,8 @@ def convert_to_python(r_output):
25
24
  return list(r_output) # Convert to a Python list of integers or floats
26
25
 
27
26
  # Check if it's a pandas-compatible R data frame
28
- elif isinstance(r_output, pd.DataFrame):
27
+ elif isinstance(r_output, (pd.DataFrame, DataFrame)):
29
28
  return r_output # Return as pandas DataFrame (already converted by pandas2ri)
30
- elif isinstance(r_output, DataFrame):
31
- return pandas2ri.rpy2py(r_output) # Return as pandas DataFrame
32
29
 
33
30
  # Check if the input is a NumPy array and has a string data type
34
31
  if isinstance(r_output, np.ndarray) and np.issubdtype(r_output.dtype, np.str_):
@@ -36,648 +33,872 @@ def convert_to_python(r_output):
36
33
 
37
34
  # Fall-back
38
35
  return r_output
36
+
37
+ def r_to_python(r_func):
38
+ """Decorator that runs an rpy2 function under a localconverter
39
+ and then applies convert_to_python to its output."""
40
+ @functools.wraps(r_func)
41
+ def wrapper(*args, **kwargs):
42
+ with localconverter(default_converter + numpy2ri.converter + pandas2ri.converter):
43
+ return convert_to_python(r_func(*args, **kwargs))
44
+ return wrapper
45
+ @r_to_python
39
46
  def ab_class(*args, **kwargs):
40
47
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
41
- return convert_to_python(amr_r.ab_class(*args, **kwargs))
48
+ return amr_r.ab_class(*args, **kwargs)
49
+ @r_to_python
42
50
  def ab_selector(*args, **kwargs):
43
51
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
44
- return convert_to_python(amr_r.ab_selector(*args, **kwargs))
52
+ return amr_r.ab_selector(*args, **kwargs)
53
+ @r_to_python
45
54
  def ab_from_text(text, *args, **kwargs):
46
55
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
47
- return convert_to_python(amr_r.ab_from_text(text, *args, **kwargs))
56
+ return amr_r.ab_from_text(text, *args, **kwargs)
57
+ @r_to_python
48
58
  def ab_name(x, *args, **kwargs):
49
59
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
50
- return convert_to_python(amr_r.ab_name(x, *args, **kwargs))
60
+ return amr_r.ab_name(x, *args, **kwargs)
61
+ @r_to_python
51
62
  def ab_cid(x, *args, **kwargs):
52
63
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
53
- return convert_to_python(amr_r.ab_cid(x, *args, **kwargs))
64
+ return amr_r.ab_cid(x, *args, **kwargs)
65
+ @r_to_python
54
66
  def ab_synonyms(x, *args, **kwargs):
55
67
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
56
- return convert_to_python(amr_r.ab_synonyms(x, *args, **kwargs))
68
+ return amr_r.ab_synonyms(x, *args, **kwargs)
69
+ @r_to_python
57
70
  def ab_tradenames(x, *args, **kwargs):
58
71
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
59
- return convert_to_python(amr_r.ab_tradenames(x, *args, **kwargs))
72
+ return amr_r.ab_tradenames(x, *args, **kwargs)
73
+ @r_to_python
60
74
  def ab_group(x, *args, **kwargs):
61
75
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
62
- return convert_to_python(amr_r.ab_group(x, *args, **kwargs))
76
+ return amr_r.ab_group(x, *args, **kwargs)
77
+ @r_to_python
63
78
  def ab_atc(x, *args, **kwargs):
64
79
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
65
- return convert_to_python(amr_r.ab_atc(x, *args, **kwargs))
80
+ return amr_r.ab_atc(x, *args, **kwargs)
81
+ @r_to_python
66
82
  def ab_atc_group1(x, *args, **kwargs):
67
83
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
68
- return convert_to_python(amr_r.ab_atc_group1(x, *args, **kwargs))
84
+ return amr_r.ab_atc_group1(x, *args, **kwargs)
85
+ @r_to_python
69
86
  def ab_atc_group2(x, *args, **kwargs):
70
87
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
71
- return convert_to_python(amr_r.ab_atc_group2(x, *args, **kwargs))
88
+ return amr_r.ab_atc_group2(x, *args, **kwargs)
89
+ @r_to_python
72
90
  def ab_loinc(x, *args, **kwargs):
73
91
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
74
- return convert_to_python(amr_r.ab_loinc(x, *args, **kwargs))
92
+ return amr_r.ab_loinc(x, *args, **kwargs)
93
+ @r_to_python
75
94
  def ab_ddd(x, *args, **kwargs):
76
95
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
77
- return convert_to_python(amr_r.ab_ddd(x, *args, **kwargs))
96
+ return amr_r.ab_ddd(x, *args, **kwargs)
97
+ @r_to_python
78
98
  def ab_ddd_units(x, *args, **kwargs):
79
99
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
80
- return convert_to_python(amr_r.ab_ddd_units(x, *args, **kwargs))
100
+ return amr_r.ab_ddd_units(x, *args, **kwargs)
101
+ @r_to_python
81
102
  def ab_info(x, *args, **kwargs):
82
103
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
83
- return convert_to_python(amr_r.ab_info(x, *args, **kwargs))
104
+ return amr_r.ab_info(x, *args, **kwargs)
105
+ @r_to_python
84
106
  def ab_url(x, *args, **kwargs):
85
107
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
86
- return convert_to_python(amr_r.ab_url(x, *args, **kwargs))
108
+ return amr_r.ab_url(x, *args, **kwargs)
109
+ @r_to_python
87
110
  def ab_property(x, *args, **kwargs):
88
111
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
89
- return convert_to_python(amr_r.ab_property(x, *args, **kwargs))
112
+ return amr_r.ab_property(x, *args, **kwargs)
113
+ @r_to_python
90
114
  def add_custom_antimicrobials(x):
91
115
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
92
- return convert_to_python(amr_r.add_custom_antimicrobials(x))
116
+ return amr_r.add_custom_antimicrobials(x)
117
+ @r_to_python
93
118
  def clear_custom_antimicrobials(*args, **kwargs):
94
119
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
95
- return convert_to_python(amr_r.clear_custom_antimicrobials(*args, **kwargs))
120
+ return amr_r.clear_custom_antimicrobials(*args, **kwargs)
121
+ @r_to_python
96
122
  def add_custom_microorganisms(x):
97
123
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
98
- return convert_to_python(amr_r.add_custom_microorganisms(x))
124
+ return amr_r.add_custom_microorganisms(x)
125
+ @r_to_python
99
126
  def clear_custom_microorganisms(*args, **kwargs):
100
127
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
101
- return convert_to_python(amr_r.clear_custom_microorganisms(*args, **kwargs))
128
+ return amr_r.clear_custom_microorganisms(*args, **kwargs)
129
+ @r_to_python
102
130
  def age(x, *args, **kwargs):
103
131
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
104
- return convert_to_python(amr_r.age(x, *args, **kwargs))
132
+ return amr_r.age(x, *args, **kwargs)
133
+ @r_to_python
105
134
  def age_groups(x, *args, **kwargs):
106
135
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
107
- return convert_to_python(amr_r.age_groups(x, *args, **kwargs))
136
+ return amr_r.age_groups(x, *args, **kwargs)
137
+ @r_to_python
108
138
  def all_mic(*args, **kwargs):
109
139
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
110
- return convert_to_python(amr_r.all_mic(*args, **kwargs))
140
+ return amr_r.all_mic(*args, **kwargs)
141
+ @r_to_python
111
142
  def all_mic_predictors(*args, **kwargs):
112
143
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
113
- return convert_to_python(amr_r.all_mic_predictors(*args, **kwargs))
144
+ return amr_r.all_mic_predictors(*args, **kwargs)
145
+ @r_to_python
114
146
  def all_sir(*args, **kwargs):
115
147
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
116
- return convert_to_python(amr_r.all_sir(*args, **kwargs))
148
+ return amr_r.all_sir(*args, **kwargs)
149
+ @r_to_python
117
150
  def all_sir_predictors(*args, **kwargs):
118
151
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
119
- return convert_to_python(amr_r.all_sir_predictors(*args, **kwargs))
152
+ return amr_r.all_sir_predictors(*args, **kwargs)
153
+ @r_to_python
120
154
  def step_mic_log2(recipe, *args, **kwargs):
121
155
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
122
- return convert_to_python(amr_r.step_mic_log2(recipe, *args, **kwargs))
156
+ return amr_r.step_mic_log2(recipe, *args, **kwargs)
157
+ @r_to_python
123
158
  def step_sir_numeric(recipe, *args, **kwargs):
124
159
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
125
- return convert_to_python(amr_r.step_sir_numeric(recipe, *args, **kwargs))
160
+ return amr_r.step_sir_numeric(recipe, *args, **kwargs)
161
+ @r_to_python
126
162
  def antibiogram(x, *args, **kwargs):
127
163
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
128
- return convert_to_python(amr_r.antibiogram(x, *args, **kwargs))
164
+ return amr_r.antibiogram(x, *args, **kwargs)
165
+ @r_to_python
129
166
  def wisca(x, *args, **kwargs):
130
167
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
131
- return convert_to_python(amr_r.wisca(x, *args, **kwargs))
168
+ return amr_r.wisca(x, *args, **kwargs)
169
+ @r_to_python
132
170
  def retrieve_wisca_parameters(wisca_model, *args, **kwargs):
133
171
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
134
- return convert_to_python(amr_r.retrieve_wisca_parameters(wisca_model, *args, **kwargs))
172
+ return amr_r.retrieve_wisca_parameters(wisca_model, *args, **kwargs)
173
+ @r_to_python
135
174
  def aminoglycosides(only_sir_columns = False, *args, **kwargs):
136
175
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
137
- return convert_to_python(amr_r.aminoglycosides(only_sir_columns = False, *args, **kwargs))
176
+ return amr_r.aminoglycosides(only_sir_columns = False, *args, **kwargs)
177
+ @r_to_python
138
178
  def aminopenicillins(only_sir_columns = False, *args, **kwargs):
139
179
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
140
- return convert_to_python(amr_r.aminopenicillins(only_sir_columns = False, *args, **kwargs))
180
+ return amr_r.aminopenicillins(only_sir_columns = False, *args, **kwargs)
181
+ @r_to_python
141
182
  def antifungals(only_sir_columns = False, *args, **kwargs):
142
183
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
143
- return convert_to_python(amr_r.antifungals(only_sir_columns = False, *args, **kwargs))
184
+ return amr_r.antifungals(only_sir_columns = False, *args, **kwargs)
185
+ @r_to_python
144
186
  def antimycobacterials(only_sir_columns = False, *args, **kwargs):
145
187
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
146
- return convert_to_python(amr_r.antimycobacterials(only_sir_columns = False, *args, **kwargs))
188
+ return amr_r.antimycobacterials(only_sir_columns = False, *args, **kwargs)
189
+ @r_to_python
147
190
  def betalactams(only_sir_columns = False, *args, **kwargs):
148
191
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
149
- return convert_to_python(amr_r.betalactams(only_sir_columns = False, *args, **kwargs))
192
+ return amr_r.betalactams(only_sir_columns = False, *args, **kwargs)
193
+ @r_to_python
150
194
  def betalactams_with_inhibitor(only_sir_columns = False, *args, **kwargs):
151
195
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
152
- return convert_to_python(amr_r.betalactams_with_inhibitor(only_sir_columns = False, *args, **kwargs))
196
+ return amr_r.betalactams_with_inhibitor(only_sir_columns = False, *args, **kwargs)
197
+ @r_to_python
153
198
  def carbapenems(only_sir_columns = False, *args, **kwargs):
154
199
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
155
- return convert_to_python(amr_r.carbapenems(only_sir_columns = False, *args, **kwargs))
200
+ return amr_r.carbapenems(only_sir_columns = False, *args, **kwargs)
201
+ @r_to_python
156
202
  def cephalosporins(only_sir_columns = False, *args, **kwargs):
157
203
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
158
- return convert_to_python(amr_r.cephalosporins(only_sir_columns = False, *args, **kwargs))
204
+ return amr_r.cephalosporins(only_sir_columns = False, *args, **kwargs)
205
+ @r_to_python
159
206
  def cephalosporins_1st(only_sir_columns = False, *args, **kwargs):
160
207
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
161
- return convert_to_python(amr_r.cephalosporins_1st(only_sir_columns = False, *args, **kwargs))
208
+ return amr_r.cephalosporins_1st(only_sir_columns = False, *args, **kwargs)
209
+ @r_to_python
162
210
  def cephalosporins_2nd(only_sir_columns = False, *args, **kwargs):
163
211
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
164
- return convert_to_python(amr_r.cephalosporins_2nd(only_sir_columns = False, *args, **kwargs))
212
+ return amr_r.cephalosporins_2nd(only_sir_columns = False, *args, **kwargs)
213
+ @r_to_python
165
214
  def cephalosporins_3rd(only_sir_columns = False, *args, **kwargs):
166
215
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
167
- return convert_to_python(amr_r.cephalosporins_3rd(only_sir_columns = False, *args, **kwargs))
216
+ return amr_r.cephalosporins_3rd(only_sir_columns = False, *args, **kwargs)
217
+ @r_to_python
168
218
  def cephalosporins_4th(only_sir_columns = False, *args, **kwargs):
169
219
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
170
- return convert_to_python(amr_r.cephalosporins_4th(only_sir_columns = False, *args, **kwargs))
220
+ return amr_r.cephalosporins_4th(only_sir_columns = False, *args, **kwargs)
221
+ @r_to_python
171
222
  def cephalosporins_5th(only_sir_columns = False, *args, **kwargs):
172
223
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
173
- return convert_to_python(amr_r.cephalosporins_5th(only_sir_columns = False, *args, **kwargs))
224
+ return amr_r.cephalosporins_5th(only_sir_columns = False, *args, **kwargs)
225
+ @r_to_python
174
226
  def fluoroquinolones(only_sir_columns = False, *args, **kwargs):
175
227
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
176
- return convert_to_python(amr_r.fluoroquinolones(only_sir_columns = False, *args, **kwargs))
228
+ return amr_r.fluoroquinolones(only_sir_columns = False, *args, **kwargs)
229
+ @r_to_python
177
230
  def glycopeptides(only_sir_columns = False, *args, **kwargs):
178
231
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
179
- return convert_to_python(amr_r.glycopeptides(only_sir_columns = False, *args, **kwargs))
232
+ return amr_r.glycopeptides(only_sir_columns = False, *args, **kwargs)
233
+ @r_to_python
180
234
  def isoxazolylpenicillins(only_sir_columns = False, *args, **kwargs):
181
235
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
182
- return convert_to_python(amr_r.isoxazolylpenicillins(only_sir_columns = False, *args, **kwargs))
236
+ return amr_r.isoxazolylpenicillins(only_sir_columns = False, *args, **kwargs)
237
+ @r_to_python
183
238
  def lincosamides(only_sir_columns = False, *args, **kwargs):
184
239
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
185
- return convert_to_python(amr_r.lincosamides(only_sir_columns = False, *args, **kwargs))
240
+ return amr_r.lincosamides(only_sir_columns = False, *args, **kwargs)
241
+ @r_to_python
186
242
  def lipoglycopeptides(only_sir_columns = False, *args, **kwargs):
187
243
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
188
- return convert_to_python(amr_r.lipoglycopeptides(only_sir_columns = False, *args, **kwargs))
244
+ return amr_r.lipoglycopeptides(only_sir_columns = False, *args, **kwargs)
245
+ @r_to_python
189
246
  def macrolides(only_sir_columns = False, *args, **kwargs):
190
247
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
191
- return convert_to_python(amr_r.macrolides(only_sir_columns = False, *args, **kwargs))
248
+ return amr_r.macrolides(only_sir_columns = False, *args, **kwargs)
249
+ @r_to_python
192
250
  def monobactams(only_sir_columns = False, *args, **kwargs):
193
251
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
194
- return convert_to_python(amr_r.monobactams(only_sir_columns = False, *args, **kwargs))
252
+ return amr_r.monobactams(only_sir_columns = False, *args, **kwargs)
253
+ @r_to_python
195
254
  def nitrofurans(only_sir_columns = False, *args, **kwargs):
196
255
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
197
- return convert_to_python(amr_r.nitrofurans(only_sir_columns = False, *args, **kwargs))
256
+ return amr_r.nitrofurans(only_sir_columns = False, *args, **kwargs)
257
+ @r_to_python
198
258
  def oxazolidinones(only_sir_columns = False, *args, **kwargs):
199
259
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
200
- return convert_to_python(amr_r.oxazolidinones(only_sir_columns = False, *args, **kwargs))
260
+ return amr_r.oxazolidinones(only_sir_columns = False, *args, **kwargs)
261
+ @r_to_python
201
262
  def penicillins(only_sir_columns = False, *args, **kwargs):
202
263
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
203
- return convert_to_python(amr_r.penicillins(only_sir_columns = False, *args, **kwargs))
264
+ return amr_r.penicillins(only_sir_columns = False, *args, **kwargs)
265
+ @r_to_python
204
266
  def phenicols(only_sir_columns = False, *args, **kwargs):
205
267
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
206
- return convert_to_python(amr_r.phenicols(only_sir_columns = False, *args, **kwargs))
268
+ return amr_r.phenicols(only_sir_columns = False, *args, **kwargs)
269
+ @r_to_python
207
270
  def polymyxins(only_sir_columns = False, *args, **kwargs):
208
271
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
209
- return convert_to_python(amr_r.polymyxins(only_sir_columns = False, *args, **kwargs))
272
+ return amr_r.polymyxins(only_sir_columns = False, *args, **kwargs)
273
+ @r_to_python
210
274
  def quinolones(only_sir_columns = False, *args, **kwargs):
211
275
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
212
- return convert_to_python(amr_r.quinolones(only_sir_columns = False, *args, **kwargs))
276
+ return amr_r.quinolones(only_sir_columns = False, *args, **kwargs)
277
+ @r_to_python
213
278
  def rifamycins(only_sir_columns = False, *args, **kwargs):
214
279
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
215
- return convert_to_python(amr_r.rifamycins(only_sir_columns = False, *args, **kwargs))
280
+ return amr_r.rifamycins(only_sir_columns = False, *args, **kwargs)
281
+ @r_to_python
216
282
  def streptogramins(only_sir_columns = False, *args, **kwargs):
217
283
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
218
- return convert_to_python(amr_r.streptogramins(only_sir_columns = False, *args, **kwargs))
284
+ return amr_r.streptogramins(only_sir_columns = False, *args, **kwargs)
285
+ @r_to_python
219
286
  def sulfonamides(only_sir_columns = False, *args, **kwargs):
220
287
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
221
- return convert_to_python(amr_r.sulfonamides(only_sir_columns = False, *args, **kwargs))
288
+ return amr_r.sulfonamides(only_sir_columns = False, *args, **kwargs)
289
+ @r_to_python
222
290
  def tetracyclines(only_sir_columns = False, *args, **kwargs):
223
291
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
224
- return convert_to_python(amr_r.tetracyclines(only_sir_columns = False, *args, **kwargs))
292
+ return amr_r.tetracyclines(only_sir_columns = False, *args, **kwargs)
293
+ @r_to_python
225
294
  def trimethoprims(only_sir_columns = False, *args, **kwargs):
226
295
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
227
- return convert_to_python(amr_r.trimethoprims(only_sir_columns = False, *args, **kwargs))
296
+ return amr_r.trimethoprims(only_sir_columns = False, *args, **kwargs)
297
+ @r_to_python
228
298
  def ureidopenicillins(only_sir_columns = False, *args, **kwargs):
229
299
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
230
- return convert_to_python(amr_r.ureidopenicillins(only_sir_columns = False, *args, **kwargs))
300
+ return amr_r.ureidopenicillins(only_sir_columns = False, *args, **kwargs)
301
+ @r_to_python
231
302
  def amr_class(amr_class, *args, **kwargs):
232
303
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
233
- return convert_to_python(amr_r.amr_class(amr_class, *args, **kwargs))
304
+ return amr_r.amr_class(amr_class, *args, **kwargs)
305
+ @r_to_python
234
306
  def amr_selector(filter, *args, **kwargs):
235
307
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
236
- return convert_to_python(amr_r.amr_selector(filter, *args, **kwargs))
308
+ return amr_r.amr_selector(filter, *args, **kwargs)
309
+ @r_to_python
237
310
  def administrable_per_os(only_sir_columns = False, *args, **kwargs):
238
311
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
239
- return convert_to_python(amr_r.administrable_per_os(only_sir_columns = False, *args, **kwargs))
312
+ return amr_r.administrable_per_os(only_sir_columns = False, *args, **kwargs)
313
+ @r_to_python
240
314
  def administrable_iv(only_sir_columns = False, *args, **kwargs):
241
315
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
242
- return convert_to_python(amr_r.administrable_iv(only_sir_columns = False, *args, **kwargs))
316
+ return amr_r.administrable_iv(only_sir_columns = False, *args, **kwargs)
317
+ @r_to_python
243
318
  def not_intrinsic_resistant(only_sir_columns = False, *args, **kwargs):
244
319
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
245
- return convert_to_python(amr_r.not_intrinsic_resistant(only_sir_columns = False, *args, **kwargs))
320
+ return amr_r.not_intrinsic_resistant(only_sir_columns = False, *args, **kwargs)
321
+ @r_to_python
246
322
  def as_ab(x, *args, **kwargs):
247
323
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
248
- return convert_to_python(amr_r.as_ab(x, *args, **kwargs))
324
+ return amr_r.as_ab(x, *args, **kwargs)
325
+ @r_to_python
249
326
  def is_ab(x):
250
327
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
251
- return convert_to_python(amr_r.is_ab(x))
328
+ return amr_r.is_ab(x)
329
+ @r_to_python
252
330
  def ab_reset_session(*args, **kwargs):
253
331
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
254
- return convert_to_python(amr_r.ab_reset_session(*args, **kwargs))
332
+ return amr_r.ab_reset_session(*args, **kwargs)
333
+ @r_to_python
255
334
  def as_av(x, *args, **kwargs):
256
335
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
257
- return convert_to_python(amr_r.as_av(x, *args, **kwargs))
336
+ return amr_r.as_av(x, *args, **kwargs)
337
+ @r_to_python
258
338
  def is_av(x):
259
339
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
260
- return convert_to_python(amr_r.is_av(x))
340
+ return amr_r.is_av(x)
341
+ @r_to_python
261
342
  def as_disk(x, *args, **kwargs):
262
343
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
263
- return convert_to_python(amr_r.as_disk(x, *args, **kwargs))
344
+ return amr_r.as_disk(x, *args, **kwargs)
345
+ @r_to_python
264
346
  def is_disk(x):
265
347
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
266
- return convert_to_python(amr_r.is_disk(x))
348
+ return amr_r.is_disk(x)
349
+ @r_to_python
267
350
  def as_mic(x, *args, **kwargs):
268
351
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
269
- return convert_to_python(amr_r.as_mic(x, *args, **kwargs))
352
+ return amr_r.as_mic(x, *args, **kwargs)
353
+ @r_to_python
270
354
  def is_mic(x):
271
355
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
272
- return convert_to_python(amr_r.is_mic(x))
356
+ return amr_r.is_mic(x)
357
+ @r_to_python
273
358
  def rescale_mic(x, *args, **kwargs):
274
359
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
275
- return convert_to_python(amr_r.rescale_mic(x, *args, **kwargs))
360
+ return amr_r.rescale_mic(x, *args, **kwargs)
361
+ @r_to_python
276
362
  def mic_p50(x, *args, **kwargs):
277
363
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
278
- return convert_to_python(amr_r.mic_p50(x, *args, **kwargs))
364
+ return amr_r.mic_p50(x, *args, **kwargs)
365
+ @r_to_python
279
366
  def mic_p90(x, *args, **kwargs):
280
367
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
281
- return convert_to_python(amr_r.mic_p90(x, *args, **kwargs))
368
+ return amr_r.mic_p90(x, *args, **kwargs)
369
+ @r_to_python
282
370
  def as_mo(x, *args, **kwargs):
283
371
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
284
- return convert_to_python(amr_r.as_mo(x, *args, **kwargs))
372
+ return amr_r.as_mo(x, *args, **kwargs)
373
+ @r_to_python
285
374
  def is_mo(x):
286
375
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
287
- return convert_to_python(amr_r.is_mo(x))
376
+ return amr_r.is_mo(x)
377
+ @r_to_python
288
378
  def mo_uncertainties(*args, **kwargs):
289
379
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
290
- return convert_to_python(amr_r.mo_uncertainties(*args, **kwargs))
380
+ return amr_r.mo_uncertainties(*args, **kwargs)
381
+ @r_to_python
291
382
  def mo_renamed(*args, **kwargs):
292
383
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
293
- return convert_to_python(amr_r.mo_renamed(*args, **kwargs))
384
+ return amr_r.mo_renamed(*args, **kwargs)
385
+ @r_to_python
294
386
  def mo_failures(*args, **kwargs):
295
387
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
296
- return convert_to_python(amr_r.mo_failures(*args, **kwargs))
388
+ return amr_r.mo_failures(*args, **kwargs)
389
+ @r_to_python
297
390
  def mo_reset_session(*args, **kwargs):
298
391
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
299
- return convert_to_python(amr_r.mo_reset_session(*args, **kwargs))
392
+ return amr_r.mo_reset_session(*args, **kwargs)
393
+ @r_to_python
300
394
  def mo_cleaning_regex(*args, **kwargs):
301
395
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
302
- return convert_to_python(amr_r.mo_cleaning_regex(*args, **kwargs))
396
+ return amr_r.mo_cleaning_regex(*args, **kwargs)
397
+ @r_to_python
303
398
  def as_sir(x, *args, **kwargs):
304
399
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
305
- return convert_to_python(amr_r.as_sir(x, *args, **kwargs))
400
+ return amr_r.as_sir(x, *args, **kwargs)
401
+ @r_to_python
306
402
  def is_sir(x):
307
403
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
308
- return convert_to_python(amr_r.is_sir(x))
404
+ return amr_r.is_sir(x)
405
+ @r_to_python
309
406
  def is_sir_eligible(x, *args, **kwargs):
310
407
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
311
- return convert_to_python(amr_r.is_sir_eligible(x, *args, **kwargs))
408
+ return amr_r.is_sir_eligible(x, *args, **kwargs)
409
+ @r_to_python
312
410
  def sir_interpretation_history(clean):
313
411
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
314
- return convert_to_python(amr_r.sir_interpretation_history(clean))
412
+ return amr_r.sir_interpretation_history(clean)
413
+ @r_to_python
315
414
  def atc_online_property(atc_code, *args, **kwargs):
316
415
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
317
- return convert_to_python(amr_r.atc_online_property(atc_code, *args, **kwargs))
416
+ return amr_r.atc_online_property(atc_code, *args, **kwargs)
417
+ @r_to_python
318
418
  def atc_online_groups(atc_code, *args, **kwargs):
319
419
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
320
- return convert_to_python(amr_r.atc_online_groups(atc_code, *args, **kwargs))
420
+ return amr_r.atc_online_groups(atc_code, *args, **kwargs)
421
+ @r_to_python
321
422
  def atc_online_ddd(atc_code, *args, **kwargs):
322
423
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
323
- return convert_to_python(amr_r.atc_online_ddd(atc_code, *args, **kwargs))
424
+ return amr_r.atc_online_ddd(atc_code, *args, **kwargs)
425
+ @r_to_python
324
426
  def atc_online_ddd_units(atc_code, *args, **kwargs):
325
427
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
326
- return convert_to_python(amr_r.atc_online_ddd_units(atc_code, *args, **kwargs))
428
+ return amr_r.atc_online_ddd_units(atc_code, *args, **kwargs)
429
+ @r_to_python
327
430
  def av_from_text(text, *args, **kwargs):
328
431
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
329
- return convert_to_python(amr_r.av_from_text(text, *args, **kwargs))
432
+ return amr_r.av_from_text(text, *args, **kwargs)
433
+ @r_to_python
330
434
  def av_name(x, *args, **kwargs):
331
435
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
332
- return convert_to_python(amr_r.av_name(x, *args, **kwargs))
436
+ return amr_r.av_name(x, *args, **kwargs)
437
+ @r_to_python
333
438
  def av_cid(x, *args, **kwargs):
334
439
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
335
- return convert_to_python(amr_r.av_cid(x, *args, **kwargs))
440
+ return amr_r.av_cid(x, *args, **kwargs)
441
+ @r_to_python
336
442
  def av_synonyms(x, *args, **kwargs):
337
443
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
338
- return convert_to_python(amr_r.av_synonyms(x, *args, **kwargs))
444
+ return amr_r.av_synonyms(x, *args, **kwargs)
445
+ @r_to_python
339
446
  def av_tradenames(x, *args, **kwargs):
340
447
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
341
- return convert_to_python(amr_r.av_tradenames(x, *args, **kwargs))
448
+ return amr_r.av_tradenames(x, *args, **kwargs)
449
+ @r_to_python
342
450
  def av_group(x, *args, **kwargs):
343
451
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
344
- return convert_to_python(amr_r.av_group(x, *args, **kwargs))
452
+ return amr_r.av_group(x, *args, **kwargs)
453
+ @r_to_python
345
454
  def av_atc(x, *args, **kwargs):
346
455
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
347
- return convert_to_python(amr_r.av_atc(x, *args, **kwargs))
456
+ return amr_r.av_atc(x, *args, **kwargs)
457
+ @r_to_python
348
458
  def av_loinc(x, *args, **kwargs):
349
459
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
350
- return convert_to_python(amr_r.av_loinc(x, *args, **kwargs))
460
+ return amr_r.av_loinc(x, *args, **kwargs)
461
+ @r_to_python
351
462
  def av_ddd(x, *args, **kwargs):
352
463
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
353
- return convert_to_python(amr_r.av_ddd(x, *args, **kwargs))
464
+ return amr_r.av_ddd(x, *args, **kwargs)
465
+ @r_to_python
354
466
  def av_ddd_units(x, *args, **kwargs):
355
467
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
356
- return convert_to_python(amr_r.av_ddd_units(x, *args, **kwargs))
468
+ return amr_r.av_ddd_units(x, *args, **kwargs)
469
+ @r_to_python
357
470
  def av_info(x, *args, **kwargs):
358
471
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
359
- return convert_to_python(amr_r.av_info(x, *args, **kwargs))
472
+ return amr_r.av_info(x, *args, **kwargs)
473
+ @r_to_python
360
474
  def av_url(x, *args, **kwargs):
361
475
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
362
- return convert_to_python(amr_r.av_url(x, *args, **kwargs))
476
+ return amr_r.av_url(x, *args, **kwargs)
477
+ @r_to_python
363
478
  def av_property(x, *args, **kwargs):
364
479
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
365
- return convert_to_python(amr_r.av_property(x, *args, **kwargs))
480
+ return amr_r.av_property(x, *args, **kwargs)
481
+ @r_to_python
366
482
  def availability(tbl, *args, **kwargs):
367
483
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
368
- return convert_to_python(amr_r.availability(tbl, *args, **kwargs))
484
+ return amr_r.availability(tbl, *args, **kwargs)
485
+ @r_to_python
369
486
  def bug_drug_combinations(x, *args, **kwargs):
370
487
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
371
- return convert_to_python(amr_r.bug_drug_combinations(x, *args, **kwargs))
488
+ return amr_r.bug_drug_combinations(x, *args, **kwargs)
489
+ @r_to_python
372
490
  def count_resistant(*args, **kwargs):
373
491
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
374
- return convert_to_python(amr_r.count_resistant(*args, **kwargs))
492
+ return amr_r.count_resistant(*args, **kwargs)
493
+ @r_to_python
375
494
  def count_susceptible(*args, **kwargs):
376
495
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
377
- return convert_to_python(amr_r.count_susceptible(*args, **kwargs))
496
+ return amr_r.count_susceptible(*args, **kwargs)
497
+ @r_to_python
378
498
  def count_S(*args, **kwargs):
379
499
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
380
- return convert_to_python(amr_r.count_S(*args, **kwargs))
500
+ return amr_r.count_S(*args, **kwargs)
501
+ @r_to_python
381
502
  def count_SI(*args, **kwargs):
382
503
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
383
- return convert_to_python(amr_r.count_SI(*args, **kwargs))
504
+ return amr_r.count_SI(*args, **kwargs)
505
+ @r_to_python
384
506
  def count_I(*args, **kwargs):
385
507
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
386
- return convert_to_python(amr_r.count_I(*args, **kwargs))
508
+ return amr_r.count_I(*args, **kwargs)
509
+ @r_to_python
387
510
  def count_IR(*args, **kwargs):
388
511
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
389
- return convert_to_python(amr_r.count_IR(*args, **kwargs))
512
+ return amr_r.count_IR(*args, **kwargs)
513
+ @r_to_python
390
514
  def count_R(*args, **kwargs):
391
515
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
392
- return convert_to_python(amr_r.count_R(*args, **kwargs))
516
+ return amr_r.count_R(*args, **kwargs)
517
+ @r_to_python
393
518
  def count_all(*args, **kwargs):
394
519
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
395
- return convert_to_python(amr_r.count_all(*args, **kwargs))
520
+ return amr_r.count_all(*args, **kwargs)
521
+ @r_to_python
396
522
  def n_sir(*args, **kwargs):
397
523
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
398
- return convert_to_python(amr_r.n_sir(*args, **kwargs))
524
+ return amr_r.n_sir(*args, **kwargs)
525
+ @r_to_python
399
526
  def count_df(data, *args, **kwargs):
400
527
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
401
- return convert_to_python(amr_r.count_df(data, *args, **kwargs))
528
+ return amr_r.count_df(data, *args, **kwargs)
529
+ @r_to_python
402
530
  def custom_eucast_rules(*args, **kwargs):
403
531
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
404
- return convert_to_python(amr_r.custom_eucast_rules(*args, **kwargs))
532
+ return amr_r.custom_eucast_rules(*args, **kwargs)
533
+ @r_to_python
405
534
  def custom_mdro_guideline(*args, **kwargs):
406
535
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
407
- return convert_to_python(amr_r.custom_mdro_guideline(*args, **kwargs))
536
+ return amr_r.custom_mdro_guideline(*args, **kwargs)
537
+ @r_to_python
408
538
  def eucast_rules(x, *args, **kwargs):
409
539
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
410
- return convert_to_python(amr_r.eucast_rules(x, *args, **kwargs))
540
+ return amr_r.eucast_rules(x, *args, **kwargs)
541
+ @r_to_python
411
542
  def eucast_dosage(ab, *args, **kwargs):
412
543
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
413
- return convert_to_python(amr_r.eucast_dosage(ab, *args, **kwargs))
544
+ return amr_r.eucast_dosage(ab, *args, **kwargs)
545
+ @r_to_python
414
546
  def export_ncbi_biosample(x, *args, **kwargs):
415
547
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
416
- return convert_to_python(amr_r.export_ncbi_biosample(x, *args, **kwargs))
548
+ return amr_r.export_ncbi_biosample(x, *args, **kwargs)
549
+ @r_to_python
417
550
  def first_isolate(x = None, *args, **kwargs):
418
551
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
419
- return convert_to_python(amr_r.first_isolate(x = None, *args, **kwargs))
552
+ return amr_r.first_isolate(x = None, *args, **kwargs)
553
+ @r_to_python
420
554
  def filter_first_isolate(x = None, *args, **kwargs):
421
555
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
422
- return convert_to_python(amr_r.filter_first_isolate(x = None, *args, **kwargs))
556
+ return amr_r.filter_first_isolate(x = None, *args, **kwargs)
557
+ @r_to_python
423
558
  def g_test(x, *args, **kwargs):
424
559
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
425
- return convert_to_python(amr_r.g_test(x, *args, **kwargs))
560
+ return amr_r.g_test(x, *args, **kwargs)
561
+ @r_to_python
426
562
  def is_new_episode(x, *args, **kwargs):
427
563
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
428
- return convert_to_python(amr_r.is_new_episode(x, *args, **kwargs))
564
+ return amr_r.is_new_episode(x, *args, **kwargs)
565
+ @r_to_python
429
566
  def ggplot_pca(x, *args, **kwargs):
430
567
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
431
- return convert_to_python(amr_r.ggplot_pca(x, *args, **kwargs))
568
+ return amr_r.ggplot_pca(x, *args, **kwargs)
569
+ @r_to_python
432
570
  def ggplot_sir(data, *args, **kwargs):
433
571
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
434
- return convert_to_python(amr_r.ggplot_sir(data, *args, **kwargs))
572
+ return amr_r.ggplot_sir(data, *args, **kwargs)
573
+ @r_to_python
435
574
  def geom_sir(position = None, *args, **kwargs):
436
575
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
437
- return convert_to_python(amr_r.geom_sir(position = None, *args, **kwargs))
576
+ return amr_r.geom_sir(position = None, *args, **kwargs)
577
+ @r_to_python
438
578
  def guess_ab_col(x = None, *args, **kwargs):
439
579
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
440
- return convert_to_python(amr_r.guess_ab_col(x = None, *args, **kwargs))
580
+ return amr_r.guess_ab_col(x = None, *args, **kwargs)
581
+ @r_to_python
441
582
  def italicise_taxonomy(string, *args, **kwargs):
442
583
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
443
- return convert_to_python(amr_r.italicise_taxonomy(string, *args, **kwargs))
584
+ return amr_r.italicise_taxonomy(string, *args, **kwargs)
585
+ @r_to_python
444
586
  def italicize_taxonomy(string, *args, **kwargs):
445
587
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
446
- return convert_to_python(amr_r.italicize_taxonomy(string, *args, **kwargs))
588
+ return amr_r.italicize_taxonomy(string, *args, **kwargs)
589
+ @r_to_python
447
590
  def inner_join_microorganisms(x, *args, **kwargs):
448
591
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
449
- return convert_to_python(amr_r.inner_join_microorganisms(x, *args, **kwargs))
592
+ return amr_r.inner_join_microorganisms(x, *args, **kwargs)
593
+ @r_to_python
450
594
  def left_join_microorganisms(x, *args, **kwargs):
451
595
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
452
- return convert_to_python(amr_r.left_join_microorganisms(x, *args, **kwargs))
596
+ return amr_r.left_join_microorganisms(x, *args, **kwargs)
597
+ @r_to_python
453
598
  def right_join_microorganisms(x, *args, **kwargs):
454
599
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
455
- return convert_to_python(amr_r.right_join_microorganisms(x, *args, **kwargs))
600
+ return amr_r.right_join_microorganisms(x, *args, **kwargs)
601
+ @r_to_python
456
602
  def full_join_microorganisms(x, *args, **kwargs):
457
603
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
458
- return convert_to_python(amr_r.full_join_microorganisms(x, *args, **kwargs))
604
+ return amr_r.full_join_microorganisms(x, *args, **kwargs)
605
+ @r_to_python
459
606
  def semi_join_microorganisms(x, *args, **kwargs):
460
607
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
461
- return convert_to_python(amr_r.semi_join_microorganisms(x, *args, **kwargs))
608
+ return amr_r.semi_join_microorganisms(x, *args, **kwargs)
609
+ @r_to_python
462
610
  def anti_join_microorganisms(x, *args, **kwargs):
463
611
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
464
- return convert_to_python(amr_r.anti_join_microorganisms(x, *args, **kwargs))
612
+ return amr_r.anti_join_microorganisms(x, *args, **kwargs)
613
+ @r_to_python
465
614
  def key_antimicrobials(x = None, *args, **kwargs):
466
615
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
467
- return convert_to_python(amr_r.key_antimicrobials(x = None, *args, **kwargs))
616
+ return amr_r.key_antimicrobials(x = None, *args, **kwargs)
617
+ @r_to_python
468
618
  def all_antimicrobials(x = None, *args, **kwargs):
469
619
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
470
- return convert_to_python(amr_r.all_antimicrobials(x = None, *args, **kwargs))
620
+ return amr_r.all_antimicrobials(x = None, *args, **kwargs)
621
+ @r_to_python
471
622
  def kurtosis(x, *args, **kwargs):
472
623
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
473
- return convert_to_python(amr_r.kurtosis(x, *args, **kwargs))
624
+ return amr_r.kurtosis(x, *args, **kwargs)
625
+ @r_to_python
474
626
  def like(x, *args, **kwargs):
475
627
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
476
- return convert_to_python(amr_r.like(x, *args, **kwargs))
628
+ return amr_r.like(x, *args, **kwargs)
629
+ @r_to_python
477
630
  def mdro(x = None, *args, **kwargs):
478
631
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
479
- return convert_to_python(amr_r.mdro(x = None, *args, **kwargs))
632
+ return amr_r.mdro(x = None, *args, **kwargs)
633
+ @r_to_python
480
634
  def brmo(x = None, *args, **kwargs):
481
635
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
482
- return convert_to_python(amr_r.brmo(x = None, *args, **kwargs))
636
+ return amr_r.brmo(x = None, *args, **kwargs)
637
+ @r_to_python
483
638
  def mrgn(x = None, *args, **kwargs):
484
639
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
485
- return convert_to_python(amr_r.mrgn(x = None, *args, **kwargs))
640
+ return amr_r.mrgn(x = None, *args, **kwargs)
641
+ @r_to_python
486
642
  def mdr_tb(x = None, *args, **kwargs):
487
643
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
488
- return convert_to_python(amr_r.mdr_tb(x = None, *args, **kwargs))
644
+ return amr_r.mdr_tb(x = None, *args, **kwargs)
645
+ @r_to_python
489
646
  def mdr_cmi2012(x = None, *args, **kwargs):
490
647
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
491
- return convert_to_python(amr_r.mdr_cmi2012(x = None, *args, **kwargs))
648
+ return amr_r.mdr_cmi2012(x = None, *args, **kwargs)
649
+ @r_to_python
492
650
  def eucast_exceptional_phenotypes(x = None, *args, **kwargs):
493
651
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
494
- return convert_to_python(amr_r.eucast_exceptional_phenotypes(x = None, *args, **kwargs))
652
+ return amr_r.eucast_exceptional_phenotypes(x = None, *args, **kwargs)
653
+ @r_to_python
495
654
  def mean_amr_distance(x, *args, **kwargs):
496
655
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
497
- return convert_to_python(amr_r.mean_amr_distance(x, *args, **kwargs))
656
+ return amr_r.mean_amr_distance(x, *args, **kwargs)
657
+ @r_to_python
498
658
  def amr_distance_from_row(amr_distance, *args, **kwargs):
499
659
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
500
- return convert_to_python(amr_r.amr_distance_from_row(amr_distance, *args, **kwargs))
660
+ return amr_r.amr_distance_from_row(amr_distance, *args, **kwargs)
661
+ @r_to_python
501
662
  def mo_matching_score(x, *args, **kwargs):
502
663
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
503
- return convert_to_python(amr_r.mo_matching_score(x, *args, **kwargs))
664
+ return amr_r.mo_matching_score(x, *args, **kwargs)
665
+ @r_to_python
504
666
  def mo_name(x, *args, **kwargs):
505
667
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
506
- return convert_to_python(amr_r.mo_name(x, *args, **kwargs))
668
+ return amr_r.mo_name(x, *args, **kwargs)
669
+ @r_to_python
507
670
  def mo_fullname(x, *args, **kwargs):
508
671
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
509
- return convert_to_python(amr_r.mo_fullname(x, *args, **kwargs))
672
+ return amr_r.mo_fullname(x, *args, **kwargs)
673
+ @r_to_python
510
674
  def mo_shortname(x, *args, **kwargs):
511
675
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
512
- return convert_to_python(amr_r.mo_shortname(x, *args, **kwargs))
676
+ return amr_r.mo_shortname(x, *args, **kwargs)
677
+ @r_to_python
513
678
  def mo_subspecies(x, *args, **kwargs):
514
679
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
515
- return convert_to_python(amr_r.mo_subspecies(x, *args, **kwargs))
680
+ return amr_r.mo_subspecies(x, *args, **kwargs)
681
+ @r_to_python
516
682
  def mo_species(x, *args, **kwargs):
517
683
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
518
- return convert_to_python(amr_r.mo_species(x, *args, **kwargs))
684
+ return amr_r.mo_species(x, *args, **kwargs)
685
+ @r_to_python
519
686
  def mo_genus(x, *args, **kwargs):
520
687
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
521
- return convert_to_python(amr_r.mo_genus(x, *args, **kwargs))
688
+ return amr_r.mo_genus(x, *args, **kwargs)
689
+ @r_to_python
522
690
  def mo_family(x, *args, **kwargs):
523
691
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
524
- return convert_to_python(amr_r.mo_family(x, *args, **kwargs))
692
+ return amr_r.mo_family(x, *args, **kwargs)
693
+ @r_to_python
525
694
  def mo_order(x, *args, **kwargs):
526
695
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
527
- return convert_to_python(amr_r.mo_order(x, *args, **kwargs))
696
+ return amr_r.mo_order(x, *args, **kwargs)
697
+ @r_to_python
528
698
  def mo_class(x, *args, **kwargs):
529
699
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
530
- return convert_to_python(amr_r.mo_class(x, *args, **kwargs))
700
+ return amr_r.mo_class(x, *args, **kwargs)
701
+ @r_to_python
531
702
  def mo_phylum(x, *args, **kwargs):
532
703
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
533
- return convert_to_python(amr_r.mo_phylum(x, *args, **kwargs))
704
+ return amr_r.mo_phylum(x, *args, **kwargs)
705
+ @r_to_python
534
706
  def mo_kingdom(x, *args, **kwargs):
535
707
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
536
- return convert_to_python(amr_r.mo_kingdom(x, *args, **kwargs))
708
+ return amr_r.mo_kingdom(x, *args, **kwargs)
709
+ @r_to_python
537
710
  def mo_domain(x, *args, **kwargs):
538
711
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
539
- return convert_to_python(amr_r.mo_domain(x, *args, **kwargs))
712
+ return amr_r.mo_domain(x, *args, **kwargs)
713
+ @r_to_python
540
714
  def mo_type(x, *args, **kwargs):
541
715
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
542
- return convert_to_python(amr_r.mo_type(x, *args, **kwargs))
716
+ return amr_r.mo_type(x, *args, **kwargs)
717
+ @r_to_python
543
718
  def mo_status(x, *args, **kwargs):
544
719
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
545
- return convert_to_python(amr_r.mo_status(x, *args, **kwargs))
720
+ return amr_r.mo_status(x, *args, **kwargs)
721
+ @r_to_python
546
722
  def mo_pathogenicity(x, *args, **kwargs):
547
723
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
548
- return convert_to_python(amr_r.mo_pathogenicity(x, *args, **kwargs))
724
+ return amr_r.mo_pathogenicity(x, *args, **kwargs)
725
+ @r_to_python
549
726
  def mo_gramstain(x, *args, **kwargs):
550
727
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
551
- return convert_to_python(amr_r.mo_gramstain(x, *args, **kwargs))
728
+ return amr_r.mo_gramstain(x, *args, **kwargs)
729
+ @r_to_python
552
730
  def mo_is_gram_negative(x, *args, **kwargs):
553
731
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
554
- return convert_to_python(amr_r.mo_is_gram_negative(x, *args, **kwargs))
732
+ return amr_r.mo_is_gram_negative(x, *args, **kwargs)
733
+ @r_to_python
555
734
  def mo_is_gram_positive(x, *args, **kwargs):
556
735
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
557
- return convert_to_python(amr_r.mo_is_gram_positive(x, *args, **kwargs))
736
+ return amr_r.mo_is_gram_positive(x, *args, **kwargs)
737
+ @r_to_python
558
738
  def mo_is_yeast(x, *args, **kwargs):
559
739
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
560
- return convert_to_python(amr_r.mo_is_yeast(x, *args, **kwargs))
740
+ return amr_r.mo_is_yeast(x, *args, **kwargs)
741
+ @r_to_python
561
742
  def mo_is_intrinsic_resistant(x, *args, **kwargs):
562
743
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
563
- return convert_to_python(amr_r.mo_is_intrinsic_resistant(x, *args, **kwargs))
744
+ return amr_r.mo_is_intrinsic_resistant(x, *args, **kwargs)
745
+ @r_to_python
564
746
  def mo_oxygen_tolerance(x, *args, **kwargs):
565
747
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
566
- return convert_to_python(amr_r.mo_oxygen_tolerance(x, *args, **kwargs))
748
+ return amr_r.mo_oxygen_tolerance(x, *args, **kwargs)
749
+ @r_to_python
567
750
  def mo_is_anaerobic(x, *args, **kwargs):
568
751
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
569
- return convert_to_python(amr_r.mo_is_anaerobic(x, *args, **kwargs))
752
+ return amr_r.mo_is_anaerobic(x, *args, **kwargs)
753
+ @r_to_python
570
754
  def mo_snomed(x, *args, **kwargs):
571
755
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
572
- return convert_to_python(amr_r.mo_snomed(x, *args, **kwargs))
756
+ return amr_r.mo_snomed(x, *args, **kwargs)
757
+ @r_to_python
573
758
  def mo_ref(x, *args, **kwargs):
574
759
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
575
- return convert_to_python(amr_r.mo_ref(x, *args, **kwargs))
760
+ return amr_r.mo_ref(x, *args, **kwargs)
761
+ @r_to_python
576
762
  def mo_authors(x, *args, **kwargs):
577
763
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
578
- return convert_to_python(amr_r.mo_authors(x, *args, **kwargs))
764
+ return amr_r.mo_authors(x, *args, **kwargs)
765
+ @r_to_python
579
766
  def mo_year(x, *args, **kwargs):
580
767
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
581
- return convert_to_python(amr_r.mo_year(x, *args, **kwargs))
768
+ return amr_r.mo_year(x, *args, **kwargs)
769
+ @r_to_python
582
770
  def mo_lpsn(x, *args, **kwargs):
583
771
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
584
- return convert_to_python(amr_r.mo_lpsn(x, *args, **kwargs))
772
+ return amr_r.mo_lpsn(x, *args, **kwargs)
773
+ @r_to_python
585
774
  def mo_mycobank(x, *args, **kwargs):
586
775
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
587
- return convert_to_python(amr_r.mo_mycobank(x, *args, **kwargs))
776
+ return amr_r.mo_mycobank(x, *args, **kwargs)
777
+ @r_to_python
588
778
  def mo_gbif(x, *args, **kwargs):
589
779
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
590
- return convert_to_python(amr_r.mo_gbif(x, *args, **kwargs))
780
+ return amr_r.mo_gbif(x, *args, **kwargs)
781
+ @r_to_python
591
782
  def mo_rank(x, *args, **kwargs):
592
783
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
593
- return convert_to_python(amr_r.mo_rank(x, *args, **kwargs))
784
+ return amr_r.mo_rank(x, *args, **kwargs)
785
+ @r_to_python
594
786
  def mo_taxonomy(x, *args, **kwargs):
595
787
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
596
- return convert_to_python(amr_r.mo_taxonomy(x, *args, **kwargs))
788
+ return amr_r.mo_taxonomy(x, *args, **kwargs)
789
+ @r_to_python
597
790
  def mo_synonyms(x, *args, **kwargs):
598
791
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
599
- return convert_to_python(amr_r.mo_synonyms(x, *args, **kwargs))
792
+ return amr_r.mo_synonyms(x, *args, **kwargs)
793
+ @r_to_python
600
794
  def mo_current(x, *args, **kwargs):
601
795
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
602
- return convert_to_python(amr_r.mo_current(x, *args, **kwargs))
796
+ return amr_r.mo_current(x, *args, **kwargs)
797
+ @r_to_python
603
798
  def mo_group_members(x, *args, **kwargs):
604
799
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
605
- return convert_to_python(amr_r.mo_group_members(x, *args, **kwargs))
800
+ return amr_r.mo_group_members(x, *args, **kwargs)
801
+ @r_to_python
606
802
  def mo_info(x, *args, **kwargs):
607
803
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
608
- return convert_to_python(amr_r.mo_info(x, *args, **kwargs))
804
+ return amr_r.mo_info(x, *args, **kwargs)
805
+ @r_to_python
609
806
  def mo_url(x, *args, **kwargs):
610
807
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
611
- return convert_to_python(amr_r.mo_url(x, *args, **kwargs))
808
+ return amr_r.mo_url(x, *args, **kwargs)
809
+ @r_to_python
612
810
  def mo_property(x, *args, **kwargs):
613
811
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
614
- return convert_to_python(amr_r.mo_property(x, *args, **kwargs))
812
+ return amr_r.mo_property(x, *args, **kwargs)
813
+ @r_to_python
615
814
  def pca(x, *args, **kwargs):
616
815
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
617
- return convert_to_python(amr_r.pca(x, *args, **kwargs))
816
+ return amr_r.pca(x, *args, **kwargs)
817
+ @r_to_python
618
818
  def theme_sir(*args, **kwargs):
619
819
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
620
- return convert_to_python(amr_r.theme_sir(*args, **kwargs))
820
+ return amr_r.theme_sir(*args, **kwargs)
821
+ @r_to_python
621
822
  def labels_sir_count(position = None, *args, **kwargs):
622
823
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
623
- return convert_to_python(amr_r.labels_sir_count(position = None, *args, **kwargs))
824
+ return amr_r.labels_sir_count(position = None, *args, **kwargs)
825
+ @r_to_python
624
826
  def resistance(*args, **kwargs):
625
827
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
626
- return convert_to_python(amr_r.resistance(*args, **kwargs))
828
+ return amr_r.resistance(*args, **kwargs)
829
+ @r_to_python
627
830
  def susceptibility(*args, **kwargs):
628
831
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
629
- return convert_to_python(amr_r.susceptibility(*args, **kwargs))
832
+ return amr_r.susceptibility(*args, **kwargs)
833
+ @r_to_python
630
834
  def sir_confidence_interval(*args, **kwargs):
631
835
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
632
- return convert_to_python(amr_r.sir_confidence_interval(*args, **kwargs))
836
+ return amr_r.sir_confidence_interval(*args, **kwargs)
837
+ @r_to_python
633
838
  def proportion_R(*args, **kwargs):
634
839
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
635
- return convert_to_python(amr_r.proportion_R(*args, **kwargs))
840
+ return amr_r.proportion_R(*args, **kwargs)
841
+ @r_to_python
636
842
  def proportion_IR(*args, **kwargs):
637
843
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
638
- return convert_to_python(amr_r.proportion_IR(*args, **kwargs))
844
+ return amr_r.proportion_IR(*args, **kwargs)
845
+ @r_to_python
639
846
  def proportion_I(*args, **kwargs):
640
847
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
641
- return convert_to_python(amr_r.proportion_I(*args, **kwargs))
848
+ return amr_r.proportion_I(*args, **kwargs)
849
+ @r_to_python
642
850
  def proportion_SI(*args, **kwargs):
643
851
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
644
- return convert_to_python(amr_r.proportion_SI(*args, **kwargs))
852
+ return amr_r.proportion_SI(*args, **kwargs)
853
+ @r_to_python
645
854
  def proportion_S(*args, **kwargs):
646
855
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
647
- return convert_to_python(amr_r.proportion_S(*args, **kwargs))
856
+ return amr_r.proportion_S(*args, **kwargs)
857
+ @r_to_python
648
858
  def proportion_df(data, *args, **kwargs):
649
859
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
650
- return convert_to_python(amr_r.proportion_df(data, *args, **kwargs))
860
+ return amr_r.proportion_df(data, *args, **kwargs)
861
+ @r_to_python
651
862
  def sir_df(data, *args, **kwargs):
652
863
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
653
- return convert_to_python(amr_r.sir_df(data, *args, **kwargs))
864
+ return amr_r.sir_df(data, *args, **kwargs)
865
+ @r_to_python
654
866
  def random_mic(size = None, *args, **kwargs):
655
867
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
656
- return convert_to_python(amr_r.random_mic(size = None, *args, **kwargs))
868
+ return amr_r.random_mic(size = None, *args, **kwargs)
869
+ @r_to_python
657
870
  def random_disk(size = None, *args, **kwargs):
658
871
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
659
- return convert_to_python(amr_r.random_disk(size = None, *args, **kwargs))
872
+ return amr_r.random_disk(size = None, *args, **kwargs)
873
+ @r_to_python
660
874
  def random_sir(size = None, *args, **kwargs):
661
875
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
662
- return convert_to_python(amr_r.random_sir(size = None, *args, **kwargs))
876
+ return amr_r.random_sir(size = None, *args, **kwargs)
877
+ @r_to_python
663
878
  def resistance_predict(x, *args, **kwargs):
664
879
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
665
- return convert_to_python(amr_r.resistance_predict(x, *args, **kwargs))
880
+ return amr_r.resistance_predict(x, *args, **kwargs)
881
+ @r_to_python
666
882
  def sir_predict(x, *args, **kwargs):
667
883
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
668
- return convert_to_python(amr_r.sir_predict(x, *args, **kwargs))
884
+ return amr_r.sir_predict(x, *args, **kwargs)
885
+ @r_to_python
669
886
  def ggplot_sir_predict(x, *args, **kwargs):
670
887
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
671
- return convert_to_python(amr_r.ggplot_sir_predict(x, *args, **kwargs))
888
+ return amr_r.ggplot_sir_predict(x, *args, **kwargs)
889
+ @r_to_python
672
890
  def skewness(x, *args, **kwargs):
673
891
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
674
- return convert_to_python(amr_r.skewness(x, *args, **kwargs))
892
+ return amr_r.skewness(x, *args, **kwargs)
893
+ @r_to_python
675
894
  def top_n_microorganisms(x, *args, **kwargs):
676
895
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
677
- return convert_to_python(amr_r.top_n_microorganisms(x, *args, **kwargs))
896
+ return amr_r.top_n_microorganisms(x, *args, **kwargs)
897
+ @r_to_python
678
898
  def reset_AMR_locale(*args, **kwargs):
679
899
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
680
- return convert_to_python(amr_r.reset_AMR_locale(*args, **kwargs))
900
+ return amr_r.reset_AMR_locale(*args, **kwargs)
901
+ @r_to_python
681
902
  def translate_AMR(x, *args, **kwargs):
682
903
  """Please see our website of the R package for the full manual: https://amr-for-r.org"""
683
- return convert_to_python(amr_r.translate_AMR(x, *args, **kwargs))
904
+ return amr_r.translate_AMR(x, *args, **kwargs)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AMR
3
- Version: 3.0.0.9010
3
+ Version: 3.0.0.9012
4
4
  Summary: A Python wrapper for the AMR R package
5
5
  Home-page: https://github.com/msberends/AMR
6
6
  Author: Matthijs Berends
@@ -0,0 +1,7 @@
1
+ AMR/__init__.py,sha256=ZNl9ZnfkNuZCBu7bcKs7y9_fp6-AOzuvJ8wNqzlPgTk,7989
2
+ AMR/datasets.py,sha256=y_Iy1fLnl7KyTXg2QuiXyizQ3f0ivVOPHpPxmafttn8,2572
3
+ AMR/functions.py,sha256=kVhO81MiXDvV9c0264W_RJAS9783XQQhTyRQh3RAd8Q,45300
4
+ amr-3.0.0.9012.dist-info/METADATA,sha256=H_5aOq4mlply2p5svxLuJf8G0asXHkPgf_PraEryxuk,10095
5
+ amr-3.0.0.9012.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
+ amr-3.0.0.9012.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
7
+ amr-3.0.0.9012.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- AMR/__init__.py,sha256=ZNl9ZnfkNuZCBu7bcKs7y9_fp6-AOzuvJ8wNqzlPgTk,7989
2
- AMR/datasets.py,sha256=zNOGHIBZvcAx2Z2QF9gIccSkQkWW0CX9pEVBOVR-7gs,2430
3
- AMR/functions.py,sha256=goXl_k5v2SCI15zHpyU8CA1MCYi_l_cYx5_19FG7VTM,46306
4
- amr-3.0.0.9010.dist-info/METADATA,sha256=tv9ZABiqPi9SPrRdYC9w5YDu4TRBLmeqrJ-SwTNajj4,10095
5
- amr-3.0.0.9010.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
6
- amr-3.0.0.9010.dist-info/top_level.txt,sha256=7K6Mq_X_OHdXOzQM5y06VUadXjYkze6yzufL1d7_6xc,4
7
- amr-3.0.0.9010.dist-info/RECORD,,