Built site for AMR: 2.0.0.9006@ed70f95
2
404.html
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="https://msberends.github.io/AMR/index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="https://msberends.github.io/AMR/index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -187,7 +187,7 @@
|
|||||||
website update since they are based on randomly created values and the
|
website update since they are based on randomly created values and the
|
||||||
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
page was written in <a href="https://rmarkdown.rstudio.com/" class="external-link">R
|
||||||
Markdown</a>. However, the methodology remains unchanged. This page was
|
Markdown</a>. However, the methodology remains unchanged. This page was
|
||||||
generated on 14 April 2023.</p>
|
generated on 15 April 2023.</p>
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
<h2 id="introduction">Introduction<a class="anchor" aria-label="anchor" href="#introduction"></a>
|
||||||
</h2>
|
</h2>
|
||||||
@ -243,21 +243,21 @@ make the structure of your data generally look like this:</p>
|
|||||||
</tr></thead>
|
</tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2023-04-14</td>
|
<td align="center">2023-04-15</td>
|
||||||
<td align="center">abcd</td>
|
<td align="center">abcd</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">2023-04-14</td>
|
<td align="center">2023-04-15</td>
|
||||||
<td align="center">abcd</td>
|
<td align="center">abcd</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">S</td>
|
<td align="center">S</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">2023-04-14</td>
|
<td align="center">2023-04-15</td>
|
||||||
<td align="center">efgh</td>
|
<td align="center">efgh</td>
|
||||||
<td align="center">Escherichia coli</td>
|
<td align="center">Escherichia coli</td>
|
||||||
<td align="center">R</td>
|
<td align="center">R</td>
|
||||||
@ -962,110 +962,110 @@ antibiograms:</p>
|
|||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>E. coli</em> (453-453)</td>
|
<em>E. coli</em> (450-450)</td>
|
||||||
<td align="right">66</td>
|
<td align="right">64</td>
|
||||||
<td align="right">60</td>
|
<td align="right">56</td>
|
||||||
<td align="right">57</td>
|
<td align="right">57</td>
|
||||||
<td align="right">66</td>
|
<td align="right">62</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>E. coli</em> (387-387)</td>
|
<em>E. coli</em> (411-411)</td>
|
||||||
<td align="right">64</td>
|
<td align="right">64</td>
|
||||||
<td align="right">58</td>
|
<td align="right">58</td>
|
||||||
<td align="right">61</td>
|
<td align="right">59</td>
|
||||||
<td align="right">61</td>
|
<td align="right">63</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>E. coli</em> (410-410)</td>
|
<em>E. coli</em> (389-389)</td>
|
||||||
<td align="right">62</td>
|
<td align="right">63</td>
|
||||||
|
<td align="right">61</td>
|
||||||
<td align="right">57</td>
|
<td align="right">57</td>
|
||||||
<td align="right">56</td>
|
<td align="right">64</td>
|
||||||
<td align="right">60</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>K. pneumoniae</em> (113-113)</td>
|
<em>K. pneumoniae</em> (96-96)</td>
|
||||||
<td align="right">62</td>
|
<td align="right">67</td>
|
||||||
<td align="right">48</td>
|
<td align="right">48</td>
|
||||||
<td align="right">59</td>
|
<td align="right">60</td>
|
||||||
<td align="right">58</td>
|
<td align="right">64</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>K. pneumoniae</em> (112-112)</td>
|
<em>K. pneumoniae</em> (109-109)</td>
|
||||||
<td align="right">62</td>
|
|
||||||
<td align="right">56</td>
|
|
||||||
<td align="right">61</td>
|
<td align="right">61</td>
|
||||||
<td align="right">56</td>
|
<td align="right">56</td>
|
||||||
|
<td align="right">60</td>
|
||||||
|
<td align="right">63</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>K. pneumoniae</em> (91-91)</td>
|
<em>K. pneumoniae</em> (111-111)</td>
|
||||||
<td align="right">66</td>
|
<td align="right">62</td>
|
||||||
|
<td align="right">53</td>
|
||||||
|
<td align="right">57</td>
|
||||||
<td align="right">54</td>
|
<td align="right">54</td>
|
||||||
<td align="right">56</td>
|
|
||||||
<td align="right">68</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>S. aureus</em> (212-212)</td>
|
<em>S. aureus</em> (219-219)</td>
|
||||||
<td align="right">63</td>
|
<td align="right">63</td>
|
||||||
<td align="right">53</td>
|
<td align="right">53</td>
|
||||||
<td align="right">56</td>
|
|
||||||
<td align="right">61</td>
|
<td align="right">61</td>
|
||||||
|
<td align="right">57</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>S. aureus</em> (234-234)</td>
|
<em>S. aureus</em> (235-235)</td>
|
||||||
<td align="right">66</td>
|
|
||||||
<td align="right">56</td>
|
|
||||||
<td align="right">61</td>
|
<td align="right">61</td>
|
||||||
<td align="right">66</td>
|
<td align="right">58</td>
|
||||||
|
<td align="right">52</td>
|
||||||
|
<td align="right">63</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>S. aureus</em> (215-215)</td>
|
<em>S. aureus</em> (207-207)</td>
|
||||||
<td align="right">64</td>
|
<td align="right">70</td>
|
||||||
<td align="right">61</td>
|
<td align="right">59</td>
|
||||||
<td align="right">55</td>
|
<td align="right">59</td>
|
||||||
<td align="right">62</td>
|
<td align="right">70</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>S. pneumoniae</em> (140-140)</td>
|
<em>S. pneumoniae</em> (141-141)</td>
|
||||||
|
<td align="right">67</td>
|
||||||
<td align="right">60</td>
|
<td align="right">60</td>
|
||||||
<td align="right">54</td>
|
<td align="right">60</td>
|
||||||
<td align="right">64</td>
|
<td align="right">72</td>
|
||||||
<td align="right">61</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>S. pneumoniae</em> (139-139)</td>
|
<em>S. pneumoniae</em> (124-124)</td>
|
||||||
<td align="right">66</td>
|
<td align="right">62</td>
|
||||||
<td align="right">56</td>
|
<td align="right">52</td>
|
||||||
<td align="right">57</td>
|
<td align="right">60</td>
|
||||||
<td align="right">68</td>
|
<td align="right">60</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<em>S. pneumoniae</em> (120-120)</td>
|
<em>S. pneumoniae</em> (134-134)</td>
|
||||||
<td align="right">66</td>
|
<td align="right">63</td>
|
||||||
<td align="right">57</td>
|
<td align="right">56</td>
|
||||||
<td align="right">58</td>
|
<td align="right">59</td>
|
||||||
<td align="right">68</td>
|
<td align="right">64</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1090,45 +1090,45 @@ antibiograms:</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">Gram-negative (566-566)</td>
|
<td align="left">Gram-negative (546-546)</td>
|
||||||
<td align="right">65</td>
|
|
||||||
<td align="right">57</td>
|
|
||||||
<td align="right">65</td>
|
<td align="right">65</td>
|
||||||
|
<td align="right">55</td>
|
||||||
|
<td align="right">63</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">Gram-negative (499-499)</td>
|
<td align="left">Gram-negative (520-520)</td>
|
||||||
<td align="right">64</td>
|
<td align="right">63</td>
|
||||||
<td align="right">58</td>
|
<td align="right">57</td>
|
||||||
<td align="right">60</td>
|
<td align="right">63</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">Gram-negative (501-501)</td>
|
<td align="left">Gram-negative (500-500)</td>
|
||||||
<td align="right">62</td>
|
<td align="right">63</td>
|
||||||
<td align="right">56</td>
|
<td align="right">59</td>
|
||||||
<td align="right">62</td>
|
<td align="right">62</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">Gram-positive (352-352)</td>
|
<td align="left">Gram-positive (360-360)</td>
|
||||||
|
<td align="right">64</td>
|
||||||
|
<td align="right">56</td>
|
||||||
<td align="right">62</td>
|
<td align="right">62</td>
|
||||||
<td align="right">54</td>
|
|
||||||
<td align="right">61</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">Gram-positive (373-373)</td>
|
<td align="left">Gram-positive (359-359)</td>
|
||||||
<td align="right">66</td>
|
<td align="right">62</td>
|
||||||
<td align="right">56</td>
|
<td align="right">56</td>
|
||||||
<td align="right">67</td>
|
<td align="right">62</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">Gram-positive (335-335)</td>
|
<td align="left">Gram-positive (341-341)</td>
|
||||||
<td align="right">64</td>
|
<td align="right">67</td>
|
||||||
<td align="right">60</td>
|
<td align="right">58</td>
|
||||||
<td align="right">64</td>
|
<td align="right">67</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
@ -1152,45 +1152,45 @@ antibiograms:</p>
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">Gram-negative (566-566)</td>
|
<td align="left">Gram-negative (546-546)</td>
|
||||||
<td align="right">65</td>
|
<td align="right">65</td>
|
||||||
<td align="right">76</td>
|
<td align="right">76</td>
|
||||||
<td align="right">78</td>
|
<td align="right">74</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">Gram-negative (499-499)</td>
|
<td align="left">Gram-negative (520-520)</td>
|
||||||
<td align="right">64</td>
|
<td align="right">63</td>
|
||||||
<td align="right">77</td>
|
<td align="right">76</td>
|
||||||
<td align="right">72</td>
|
<td align="right">75</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">Gram-negative (501-501)</td>
|
<td align="left">Gram-negative (500-500)</td>
|
||||||
<td align="right">62</td>
|
<td align="right">63</td>
|
||||||
<td align="right">74</td>
|
<td align="right">76</td>
|
||||||
<td align="right">74</td>
|
<td align="right">75</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Cardial</td>
|
<td align="left">Cardial</td>
|
||||||
<td align="left">Gram-positive (352-352)</td>
|
<td align="left">Gram-positive (360-360)</td>
|
||||||
<td align="right">62</td>
|
<td align="right">64</td>
|
||||||
|
<td align="right">80</td>
|
||||||
<td align="right">75</td>
|
<td align="right">75</td>
|
||||||
<td align="right">73</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">Respiratory</td>
|
<td align="left">Respiratory</td>
|
||||||
<td align="left">Gram-positive (373-373)</td>
|
<td align="left">Gram-positive (359-359)</td>
|
||||||
<td align="right">66</td>
|
<td align="right">62</td>
|
||||||
<td align="right">80</td>
|
<td align="right">74</td>
|
||||||
<td align="right">77</td>
|
<td align="right">72</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">Rheumatic</td>
|
<td align="left">Rheumatic</td>
|
||||||
<td align="left">Gram-positive (335-335)</td>
|
<td align="left">Gram-positive (341-341)</td>
|
||||||
<td align="right">64</td>
|
<td align="right">67</td>
|
||||||
<td align="right">76</td>
|
<td align="right">78</td>
|
||||||
<td align="right">76</td>
|
<td align="right">79</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -385,19 +385,19 @@ names or codes, this would have worked exactly the same way:</p>
|
|||||||
<div class="sourceCode" id="cb8"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb8"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">my_TB_data</span><span class="op">)</span></span>
|
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/head.html" class="external-link">head</a></span><span class="op">(</span><span class="va">my_TB_data</span><span class="op">)</span></span>
|
||||||
<span><span class="co">#> rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin</span></span>
|
<span><span class="co">#> rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin</span></span>
|
||||||
<span><span class="co">#> 1 I I I R S S</span></span>
|
<span><span class="co">#> 1 R S I I I I</span></span>
|
||||||
<span><span class="co">#> 2 S R R R R S</span></span>
|
<span><span class="co">#> 2 I R S S I R</span></span>
|
||||||
<span><span class="co">#> 3 I R S I I S</span></span>
|
<span><span class="co">#> 3 S S R I I I</span></span>
|
||||||
<span><span class="co">#> 4 I S S S S R</span></span>
|
<span><span class="co">#> 4 R S S R S S</span></span>
|
||||||
<span><span class="co">#> 5 S I R I R R</span></span>
|
<span><span class="co">#> 5 S R I I R R</span></span>
|
||||||
<span><span class="co">#> 6 S I I I I R</span></span>
|
<span><span class="co">#> 6 S I I R I S</span></span>
|
||||||
<span><span class="co">#> kanamycin</span></span>
|
<span><span class="co">#> kanamycin</span></span>
|
||||||
<span><span class="co">#> 1 S</span></span>
|
<span><span class="co">#> 1 R</span></span>
|
||||||
<span><span class="co">#> 2 R</span></span>
|
<span><span class="co">#> 2 I</span></span>
|
||||||
<span><span class="co">#> 3 S</span></span>
|
<span><span class="co">#> 3 S</span></span>
|
||||||
<span><span class="co">#> 4 I</span></span>
|
<span><span class="co">#> 4 S</span></span>
|
||||||
<span><span class="co">#> 5 R</span></span>
|
<span><span class="co">#> 5 R</span></span>
|
||||||
<span><span class="co">#> 6 I</span></span></code></pre></div>
|
<span><span class="co">#> 6 R</span></span></code></pre></div>
|
||||||
<p>We can now add the interpretation of MDR-TB to our data set. You can
|
<p>We can now add the interpretation of MDR-TB to our data set. You can
|
||||||
use:</p>
|
use:</p>
|
||||||
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
|
||||||
@ -438,40 +438,40 @@ Unique: 5</p>
|
|||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">1</td>
|
<td align="left">1</td>
|
||||||
<td align="left">Mono-resistant</td>
|
<td align="left">Mono-resistant</td>
|
||||||
<td align="right">3214</td>
|
<td align="right">3183</td>
|
||||||
<td align="right">64.28%</td>
|
<td align="right">63.66%</td>
|
||||||
<td align="right">3214</td>
|
<td align="right">3183</td>
|
||||||
<td align="right">64.28%</td>
|
<td align="right">63.66%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">2</td>
|
<td align="left">2</td>
|
||||||
<td align="left">Negative</td>
|
<td align="left">Negative</td>
|
||||||
<td align="right">1016</td>
|
<td align="right">1002</td>
|
||||||
<td align="right">20.32%</td>
|
<td align="right">20.04%</td>
|
||||||
<td align="right">4230</td>
|
<td align="right">4185</td>
|
||||||
<td align="right">84.60%</td>
|
<td align="right">83.70%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">3</td>
|
<td align="left">3</td>
|
||||||
<td align="left">Multi-drug-resistant</td>
|
<td align="left">Multi-drug-resistant</td>
|
||||||
<td align="right">424</td>
|
<td align="right">442</td>
|
||||||
<td align="right">8.48%</td>
|
<td align="right">8.84%</td>
|
||||||
<td align="right">4654</td>
|
<td align="right">4627</td>
|
||||||
<td align="right">93.08%</td>
|
<td align="right">92.54%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="left">4</td>
|
<td align="left">4</td>
|
||||||
<td align="left">Poly-resistant</td>
|
<td align="left">Poly-resistant</td>
|
||||||
<td align="right">247</td>
|
<td align="right">272</td>
|
||||||
<td align="right">4.94%</td>
|
<td align="right">5.44%</td>
|
||||||
<td align="right">4901</td>
|
<td align="right">4899</td>
|
||||||
<td align="right">98.02%</td>
|
<td align="right">97.98%</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="left">5</td>
|
<td align="left">5</td>
|
||||||
<td align="left">Extensively drug-resistant</td>
|
<td align="left">Extensively drug-resistant</td>
|
||||||
<td align="right">99</td>
|
<td align="right">101</td>
|
||||||
<td align="right">1.98%</td>
|
<td align="right">2.02%</td>
|
||||||
<td align="right">5000</td>
|
<td align="right">5000</td>
|
||||||
<td align="right">100.00%</td>
|
<td align="right">100.00%</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -178,7 +178,7 @@
|
|||||||
<h4 data-toc-skip class="author">Dr. Matthijs
|
<h4 data-toc-skip class="author">Dr. Matthijs
|
||||||
Berends</h4>
|
Berends</h4>
|
||||||
|
|
||||||
<h4 data-toc-skip class="date">14 April 2023</h4>
|
<h4 data-toc-skip class="date">15 April 2023</h4>
|
||||||
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/SPSS.Rmd" class="external-link"><code>vignettes/SPSS.Rmd</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/SPSS.Rmd" class="external-link"><code>vignettes/SPSS.Rmd</code></a></small>
|
||||||
<div class="d-none name"><code>SPSS.Rmd</code></div>
|
<div class="d-none name"><code>SPSS.Rmd</code></div>
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -176,7 +176,7 @@
|
|||||||
<main id="main" class="col-md-9"><div class="page-header">
|
<main id="main" class="col-md-9"><div class="page-header">
|
||||||
<img src="../logo.svg" class="logo" alt=""><h1>Data sets for download / own use</h1>
|
<img src="../logo.svg" class="logo" alt=""><h1>Data sets for download / own use</h1>
|
||||||
|
|
||||||
<h4 data-toc-skip class="date">14 April 2023</h4>
|
<h4 data-toc-skip class="date">15 April 2023</h4>
|
||||||
|
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/vignettes/datasets.Rmd" class="external-link"><code>vignettes/datasets.Rmd</code></a></small>
|
||||||
<div class="d-none name"><code>datasets.Rmd</code></div>
|
<div class="d-none name"><code>datasets.Rmd</code></div>
|
||||||
@ -197,7 +197,7 @@ of the data sets look like.</p>
|
|||||||
<h2 id="microorganisms-full-microbial-taxonomy">
|
<h2 id="microorganisms-full-microbial-taxonomy">
|
||||||
<code>microorganisms</code>: Full Microbial Taxonomy<a class="anchor" aria-label="anchor" href="#microorganisms-full-microbial-taxonomy"></a>
|
<code>microorganisms</code>: Full Microbial Taxonomy<a class="anchor" aria-label="anchor" href="#microorganisms-full-microbial-taxonomy"></a>
|
||||||
</h2>
|
</h2>
|
||||||
<p>A data set with 52 149 rows and 22 columns, containing the following
|
<p>A data set with 52 151 rows and 22 columns, containing the following
|
||||||
column names:<br><em>mo</em>, <em>fullname</em>, <em>status</em>, <em>kingdom</em>,
|
column names:<br><em>mo</em>, <em>fullname</em>, <em>status</em>, <em>kingdom</em>,
|
||||||
<em>phylum</em>, <em>class</em>, <em>order</em>, <em>family</em>,
|
<em>phylum</em>, <em>class</em>, <em>order</em>, <em>family</em>,
|
||||||
<em>genus</em>, <em>species</em>, <em>subspecies</em>, <em>rank</em>,
|
<em>genus</em>, <em>species</em>, <em>subspecies</em>, <em>rank</em>,
|
||||||
@ -206,7 +206,7 @@ column names:<br><em>mo</em>, <em>fullname</em>, <em>status</em>, <em>kingdom</e
|
|||||||
<em>gbif_renamed_to</em>, <em>prevalence</em>, and <em>snomed</em>.</p>
|
<em>gbif_renamed_to</em>, <em>prevalence</em>, and <em>snomed</em>.</p>
|
||||||
<p>This data set is in R available as <code>microorganisms</code>, after
|
<p>This data set is in R available as <code>microorganisms</code>, after
|
||||||
you load the <code>AMR</code> package.</p>
|
you load the <code>AMR</code> package.</p>
|
||||||
<p>It was last updated on 14 April 2023 09:12:26 UTC. Find more info
|
<p>It was last updated on 14 April 2023 21:14:34 UTC. Find more info
|
||||||
about the structure of this data set <a href="https://msberends.github.io/AMR/reference/microorganisms.html">here</a>.</p>
|
about the structure of this data set <a href="https://msberends.github.io/AMR/reference/microorganisms.html">here</a>.</p>
|
||||||
<p><strong>Direct download links:</strong></p>
|
<p><strong>Direct download links:</strong></p>
|
||||||
<ul>
|
<ul>
|
||||||
@ -283,7 +283,7 @@ Set Name ‘Microoganism’, OID 2.16.840.1.114222.4.11.1009 (v12). URL: <a href
|
|||||||
</tr>
|
</tr>
|
||||||
<tr class="even">
|
<tr class="even">
|
||||||
<td align="center">Bacteria</td>
|
<td align="center">Bacteria</td>
|
||||||
<td align="center">36 483</td>
|
<td align="center">36 485</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd">
|
<tr class="odd">
|
||||||
<td align="center">Fungi</td>
|
<td align="center">Fungi</td>
|
||||||
@ -877,13 +877,13 @@ inhibitors</td>
|
|||||||
<code>clinical_breakpoints</code>: Interpretation from MIC values
|
<code>clinical_breakpoints</code>: Interpretation from MIC values
|
||||||
& disk diameters to SIR<a class="anchor" aria-label="anchor" href="#clinical_breakpoints-interpretation-from-mic-values-disk-diameters-to-sir"></a>
|
& disk diameters to SIR<a class="anchor" aria-label="anchor" href="#clinical_breakpoints-interpretation-from-mic-values-disk-diameters-to-sir"></a>
|
||||||
</h2>
|
</h2>
|
||||||
<p>A data set with 18 308 rows and 11 columns, containing the following
|
<p>A data set with 17 918 rows and 11 columns, containing the following
|
||||||
column names:<br><em>guideline</em>, <em>method</em>, <em>site</em>, <em>mo</em>,
|
column names:<br><em>guideline</em>, <em>method</em>, <em>site</em>, <em>mo</em>,
|
||||||
<em>rank_index</em>, <em>ab</em>, <em>ref_tbl</em>, <em>disk_dose</em>,
|
<em>rank_index</em>, <em>ab</em>, <em>ref_tbl</em>, <em>disk_dose</em>,
|
||||||
<em>breakpoint_S</em>, <em>breakpoint_R</em>, and <em>uti</em>.</p>
|
<em>breakpoint_S</em>, <em>breakpoint_R</em>, and <em>uti</em>.</p>
|
||||||
<p>This data set is in R available as <code>clinical_breakpoints</code>,
|
<p>This data set is in R available as <code>clinical_breakpoints</code>,
|
||||||
after you load the <code>AMR</code> package.</p>
|
after you load the <code>AMR</code> package.</p>
|
||||||
<p>It was last updated on 21 January 2023 22:47:20 UTC. Find more info
|
<p>It was last updated on 14 April 2023 21:14:34 UTC. Find more info
|
||||||
about the structure of this data set <a href="https://msberends.github.io/AMR/reference/clinical_breakpoints.html">here</a>.</p>
|
about the structure of this data set <a href="https://msberends.github.io/AMR/reference/clinical_breakpoints.html">here</a>.</p>
|
||||||
<p><strong>Direct download links:</strong></p>
|
<p><strong>Direct download links:</strong></p>
|
||||||
<ul>
|
<ul>
|
||||||
@ -891,7 +891,7 @@ about the structure of this data set <a href="https://msberends.github.io/AMR/re
|
|||||||
R Data Structure (RDS) file</a> (42 kB)<br>
|
R Data Structure (RDS) file</a> (42 kB)<br>
|
||||||
</li>
|
</li>
|
||||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.txt" class="external-link">tab-separated
|
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.txt" class="external-link">tab-separated
|
||||||
text file</a> (1.9 MB)<br>
|
text file</a> (1.8 MB)<br>
|
||||||
</li>
|
</li>
|
||||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.xlsx" class="external-link">Microsoft
|
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.xlsx" class="external-link">Microsoft
|
||||||
Excel workbook</a> (0.8 MB)<br>
|
Excel workbook</a> (0.8 MB)<br>
|
||||||
@ -900,16 +900,16 @@ Excel workbook</a> (0.8 MB)<br>
|
|||||||
Feather file</a> (0.7 MB)<br>
|
Feather file</a> (0.7 MB)<br>
|
||||||
</li>
|
</li>
|
||||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.parquet" class="external-link">Apache
|
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.parquet" class="external-link">Apache
|
||||||
Parquet file</a> (87 kB)<br>
|
Parquet file</a> (89 kB)<br>
|
||||||
</li>
|
</li>
|
||||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.sas" class="external-link">SAS
|
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.sas" class="external-link">SAS
|
||||||
data file</a> (3.6 MB)<br>
|
data file</a> (3.5 MB)<br>
|
||||||
</li>
|
</li>
|
||||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.sav" class="external-link">IBM
|
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.sav" class="external-link">IBM
|
||||||
SPSS Statistics data file</a> (2.3 MB)<br>
|
SPSS Statistics data file</a> (2.3 MB)<br>
|
||||||
</li>
|
</li>
|
||||||
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.dta" class="external-link">Stata
|
<li>Download as <a href="https://github.com/msberends/AMR/raw/main/data-raw/../data-raw/clinical_breakpoints.dta" class="external-link">Stata
|
||||||
DTA file</a> (3.4 MB)</li>
|
DTA file</a> (3.3 MB)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="section level3">
|
<div class="section level3">
|
||||||
<h3 id="source-3">Source<a class="anchor" aria-label="anchor" href="#source-3"></a>
|
<h3 id="source-3">Source<a class="anchor" aria-label="anchor" href="#source-3"></a>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -762,7 +762,7 @@
|
|||||||
<p>Manually, using:</p>
|
<p>Manually, using:</p>
|
||||||
<div class="sourceCode" id="cb12"><pre class="downlit sourceCode r">
|
<div class="sourceCode" id="cb12"><pre class="downlit sourceCode r">
|
||||||
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html" class="external-link">install.packages</a></span><span class="op">(</span><span class="st">"remotes"</span><span class="op">)</span> <span class="co"># if you haven't already</span></span>
|
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html" class="external-link">install.packages</a></span><span class="op">(</span><span class="st">"remotes"</span><span class="op">)</span> <span class="co"># if you haven't already</span></span>
|
||||||
<span><span class="fu">remotes</span><span class="fu">::</span><span class="fu">install_github</span><span class="op">(</span><span class="st">"msberends/AMR"</span><span class="op">)</span></span></code></pre></div>
|
<span><span class="fu">remotes</span><span class="fu">::</span><span class="fu"><a href="https://remotes.r-lib.org/reference/install_github.html" class="external-link">install_github</a></span><span class="op">(</span><span class="st">"msberends/AMR"</span><span class="op">)</span></span></code></pre></div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p>Automatically, using the <a href="https://ropensci.org/r-universe/" class="external-link">rOpenSci R-universe platform</a>, by adding <a href="https://msberends.r-universe.dev" class="external-link">our R-universe address</a> to your list of repositories (‘repos’):</p>
|
<p>Automatically, using the <a href="https://ropensci.org/r-universe/" class="external-link">rOpenSci R-universe platform</a>, by adding <a href="https://msberends.r-universe.dev" class="external-link">our R-universe address</a> to your list of repositories (‘repos’):</p>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -142,12 +142,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 class="pkg-version" data-toc-text="2.0.0.9005" id="amr-2009005">AMR 2.0.0.9005<a class="anchor" aria-label="anchor" href="#amr-2009005"></a></h2>
|
<h2 class="pkg-version" data-toc-text="2.0.0.9006" id="amr-2009006">AMR 2.0.0.9006<a class="anchor" aria-label="anchor" href="#amr-2009006"></a></h2>
|
||||||
<div class="section level3">
|
<div class="section level3">
|
||||||
<h3 id="changed-2-0-0-9005">Changed<a class="anchor" aria-label="anchor" href="#changed-2-0-0-9005"></a></h3>
|
<h3 id="changed-2-0-0-9006">Changed<a class="anchor" aria-label="anchor" href="#changed-2-0-0-9006"></a></h3>
|
||||||
<ul><li>formatting fix for <code><a href="../reference/as.sir.html">sir_interpretation_history()</a></code>
|
<ul><li>formatting fix for <code><a href="../reference/as.sir.html">sir_interpretation_history()</a></code>
|
||||||
</li>
|
</li>
|
||||||
<li>Fixed some WHONET codes for microorganisms</li>
|
<li>Fixed some WHONET codes for microorganisms and consequently a couple of entries in <code>clinical_breakpoints</code>
|
||||||
|
</li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
|
@ -11,7 +11,7 @@ articles:
|
|||||||
datasets: datasets.html
|
datasets: datasets.html
|
||||||
resistance_predict: resistance_predict.html
|
resistance_predict: resistance_predict.html
|
||||||
welcome_to_AMR: welcome_to_AMR.html
|
welcome_to_AMR: welcome_to_AMR.html
|
||||||
last_built: 2023-04-14T09:18Z
|
last_built: 2023-04-15T05:19Z
|
||||||
urls:
|
urls:
|
||||||
reference: https://msberends.github.io/AMR/reference
|
reference: https://msberends.github.io/AMR/reference
|
||||||
article: https://msberends.github.io/AMR/articles
|
article: https://msberends.github.io/AMR/articles
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -24,7 +24,7 @@ The AMR package is available in English, Chinese, Czech, Danish, Dutch, Finnish,
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 8.3 KiB |
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -205,16 +205,16 @@
|
|||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="va">df</span></span></span>
|
<span class="r-in"><span><span class="va">df</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
<span class="r-out co"><span class="r-pr">#></span> birth_date age age_exact age_at_y2k</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 1973-02-16 50 50.15616 26</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 1997-03-30 26 26.04384 2</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 1941-12-13 81 81.33425 58</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 1937-11-18 85 85.40548 62</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 1966-12-02 56 56.36438 33</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 1957-03-21 66 66.06849 42</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 1957-04-08 66 66.01644 42</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 1971-01-05 52 52.27397 28</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 1999-01-10 24 24.25753 0</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 1947-08-24 75 75.64110 52</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 1936-10-26 86 86.46575 63</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 1934-03-24 89 89.06027 65</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 1970-03-21 53 53.06575 29</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 1941-06-24 81 81.80822 58</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 1938-12-21 84 84.31233 61</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 1977-08-14 45 45.66849 22</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 1941-03-06 82 82.10685 58</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 1956-10-10 66 66.51233 43</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 1984-06-28 38 38.79452 15</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 1956-12-11 66 66.34247 43</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ In short, if you have a column name that resembles an antimicrobial drug, it wil
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -609,11 +609,11 @@ In short, if you have a column name that resembles an antimicrobial drug, it wil
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 5 × 1</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 5 × 1</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> kefzol</span>
|
<span class="r-out co"><span class="r-pr">#></span> kefzol</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><sir></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><sir></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> I </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> R </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> I </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> R </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> R </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> S </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</span> R </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</span> S </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">5</span> R </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">5</span> S </span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span> <span class="co"># get AMR for all aminoglycosides e.g., per ward:</span></span></span>
|
<span class="r-in"><span> <span class="co"># get AMR for all aminoglycosides e.g., per ward:</span></span></span>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ All breakpoints used for interpretation are publicly available in the clinical_b
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -327,7 +327,7 @@ All breakpoints used for interpretation are publicly available in the clinical_b
|
|||||||
<h3 id="machine-readable-clinical-breakpoints">Machine-Readable Clinical Breakpoints<a class="anchor" aria-label="anchor" href="#machine-readable-clinical-breakpoints"></a></h3>
|
<h3 id="machine-readable-clinical-breakpoints">Machine-Readable Clinical Breakpoints<a class="anchor" aria-label="anchor" href="#machine-readable-clinical-breakpoints"></a></h3>
|
||||||
|
|
||||||
|
|
||||||
<p>The repository of this package <a href="https://github.com/msberends/AMR/blob/main/data-raw/clinical_breakpoints.txt" class="external-link">contains a machine-readable version</a> of all guidelines. This is a CSV file consisting of 18 308 rows and 11 columns. This file is machine-readable, since it contains one row for every unique combination of the test method (MIC or disk diffusion), the antimicrobial drug and the microorganism. <strong>This allows for easy implementation of these rules in laboratory information systems (LIS)</strong>. Note that it only contains interpretation guidelines for humans - interpretation guidelines from CLSI for animals were removed.</p>
|
<p>The repository of this package <a href="https://github.com/msberends/AMR/blob/main/data-raw/clinical_breakpoints.txt" class="external-link">contains a machine-readable version</a> of all guidelines. This is a CSV file consisting of 17 918 rows and 11 columns. This file is machine-readable, since it contains one row for every unique combination of the test method (MIC or disk diffusion), the antimicrobial drug and the microorganism. <strong>This allows for easy implementation of these rules in laboratory information systems (LIS)</strong>. Note that it only contains interpretation guidelines for humans - interpretation guidelines from CLSI for animals were removed.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="section">
|
<div class="section">
|
||||||
@ -534,16 +534,16 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 50 × 12</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 50 × 12</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> datetime index ab_input ab_guideline mo_input mo_guideline </span>
|
<span class="r-out co"><span class="r-pr">#></span> datetime index ab_input ab_guideline mo_input mo_guideline </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><dttm></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2023-04-14 <span style="color: #949494;">09:19:49</span> 1 TOB TOB Escherichia… B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 2023-04-15 <span style="color: #949494;">05:20:24</span> 1 TOB TOB Escherichia… B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2023-04-14 <span style="color: #949494;">09:19:49</span> 1 GEN GEN Escherichia… B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 2023-04-15 <span style="color: #949494;">05:20:23</span> 1 GEN GEN Escherichia… B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2023-04-14 <span style="color: #949494;">09:19:49</span> 1 CIP CIP Escherichia… B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 2023-04-15 <span style="color: #949494;">05:20:23</span> 1 CIP CIP Escherichia… B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2023-04-14 <span style="color: #949494;">09:19:48</span> 1 AMP AMP Escherichia… B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 2023-04-15 <span style="color: #949494;">05:20:23</span> 1 AMP AMP Escherichia… B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2023-04-14 <span style="color: #949494;">09:19:42</span> 1 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 2023-04-15 <span style="color: #949494;">05:20:16</span> 1 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2023-04-14 <span style="color: #949494;">09:19:42</span> 2 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 2023-04-15 <span style="color: #949494;">05:20:16</span> 2 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2023-04-14 <span style="color: #949494;">09:19:42</span> 3 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 2023-04-15 <span style="color: #949494;">05:20:16</span> 3 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2023-04-14 <span style="color: #949494;">09:19:42</span> 4 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 2023-04-15 <span style="color: #949494;">05:20:16</span> 4 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2023-04-14 <span style="color: #949494;">09:19:42</span> 5 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 2023-04-15 <span style="color: #949494;">05:20:16</span> 5 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2023-04-14 <span style="color: #949494;">09:19:42</span> 6 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 2023-04-15 <span style="color: #949494;">05:20:16</span> 6 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 40 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 40 more rows</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 6 more variables: guideline <chr>, ref_table <chr>, method <chr>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 6 more variables: guideline <chr>, ref_table <chr>, method <chr>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># input <dbl>, outcome <sir>, breakpoint_S_R <chr></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># input <dbl>, outcome <sir>, breakpoint_S_R <chr></span></span>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -153,7 +153,7 @@
|
|||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
|
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
|
||||||
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 18 308 observations and 11 variables:</p><ul><li><p><code>guideline</code><br> Name of the guideline</p></li>
|
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 17 918 observations and 11 variables:</p><ul><li><p><code>guideline</code><br> Name of the guideline</p></li>
|
||||||
<li><p><code>method</code><br> Either "DISK" or "MIC"</p></li>
|
<li><p><code>method</code><br> Either "DISK" or "MIC"</p></li>
|
||||||
<li><p><code>site</code><br> Body site, e.g. "Oral" or "Respiratory"</p></li>
|
<li><p><code>site</code><br> Body site, e.g. "Oral" or "Respiratory"</p></li>
|
||||||
<li><p><code>mo</code><br> Microbial ID, see <code><a href="as.mo.html">as.mo()</a></code></p></li>
|
<li><p><code>mo</code><br> Microbial ID, see <code><a href="as.mo.html">as.mo()</a></code></p></li>
|
||||||
@ -178,7 +178,7 @@
|
|||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">clinical_breakpoints</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">clinical_breakpoints</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 18,308 × 11</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 17,918 × 11</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> guideline method site mo rank_index ab ref_tbl disk_dose</span>
|
<span class="r-out co"><span class="r-pr">#></span> guideline method site mo rank_index ab ref_tbl disk_dose</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><ab></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> EUCAST 2022 MIC <span style="color: #BB0000;">NA</span> F_ASPRG_MGTS 2 AMB Aspergil… <span style="color: #BB0000;">NA</span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> EUCAST 2022 MIC <span style="color: #BB0000;">NA</span> F_ASPRG_MGTS 2 AMB Aspergil… <span style="color: #BB0000;">NA</span> </span>
|
||||||
@ -191,7 +191,7 @@
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> EUCAST 2022 MIC <span style="color: #BB0000;">NA</span> F_CANDD_TRPC 2 AMB Candida <span style="color: #BB0000;">NA</span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> EUCAST 2022 MIC <span style="color: #BB0000;">NA</span> F_CANDD_TRPC 2 AMB Candida <span style="color: #BB0000;">NA</span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> EUCAST 2022 MIC <span style="color: #BB0000;">NA</span> F_CRYPT_NFRM 2 AMB Candida <span style="color: #BB0000;">NA</span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> EUCAST 2022 MIC <span style="color: #BB0000;">NA</span> F_CRYPT_NFRM 2 AMB Candida <span style="color: #BB0000;">NA</span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> EUCAST 2022 DISK <span style="color: #BB0000;">NA</span> B_[ORD]_ENTRBCTR 5 AMC Enteroba… 20ug/10ug</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> EUCAST 2022 DISK <span style="color: #BB0000;">NA</span> B_[ORD]_ENTRBCTR 5 AMC Enteroba… 20ug/10ug</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 18,298 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 17,908 more rows</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 3 more variables: breakpoint_S <dbl>, breakpoint_R <dbl>, uti <lgl></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 3 more variables: breakpoint_S <dbl>, breakpoint_R <dbl>, uti <lgl></span></span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,7 +12,7 @@ count_resistant() should be used to count resistant isolates, count_susceptible(
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ To improve the interpretation of the antibiogram before EUCAST rules are applied
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -246,30 +246,27 @@
|
|||||||
<span class="r-in"><span><span class="va">df</span> <span class="op"><-</span> <span class="va">example_isolates</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fl">2000</span><span class="op">)</span>, size <span class="op">=</span> <span class="fl">100</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
<span class="r-in"><span><span class="va">df</span> <span class="op"><-</span> <span class="va">example_isolates</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/sample.html" class="external-link">sample</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/seq.html" class="external-link">seq_len</a></span><span class="op">(</span><span class="fl">2000</span><span class="op">)</span>, size <span class="op">=</span> <span class="fl">100</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># indices</span></span></span>
|
<span class="r-in"><span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># indices</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 14 47 3 22 47 27 5 40 40 23 41 45 12 16 18 37 29 28 3 24 21 43 11 19 3</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 26 32 34 46 9 45 34 39 30 56 35 24 31 52 7 48 28 26 57 20 22 13 2 11 11</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [26] 28 10 25 25 47 44 16 18 45 46 7 28 7 33 47 13 34 2 4 35 42 29 26 23 29</span>
|
<span class="r-out co"><span class="r-pr">#></span> [26] 40 26 50 36 47 12 25 6 45 43 28 47 53 33 17 49 36 12 18 55 26 40 13 8 10</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [51] 41 37 27 40 49 17 32 48 43 8 14 2 24 36 38 21 6 9 24 39 30 46 35 3 49</span>
|
<span class="r-out co"><span class="r-pr">#></span> [51] 34 52 12 12 22 50 54 33 5 4 8 41 19 49 42 32 50 32 27 27 14 44 53 48 51</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [76] 48 44 24 42 33 31 1 30 26 17 12 9 6 13 31 43 45 47 20 24 8 15 26 24 6</span>
|
<span class="r-out co"><span class="r-pr">#></span> [76] 15 16 34 38 57 5 21 16 20 1 46 37 23 5 27 24 29 21 39 16 3 45 17 55 9</span>
|
||||||
<span class="r-in"><span><span class="fu">is_new_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># TRUE/FALSE</span></span></span>
|
<span class="r-in"><span><span class="fu">is_new_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, episode_days <span class="op">=</span> <span class="fl">60</span><span class="op">)</span> <span class="co"># TRUE/FALSE</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE FALSE TRUE TRUE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [13] TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [13] TRUE TRUE TRUE TRUE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [25] FALSE FALSE TRUE TRUE FALSE FALSE TRUE FALSE FALSE FALSE TRUE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [25] FALSE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [37] FALSE FALSE TRUE FALSE TRUE TRUE TRUE TRUE TRUE TRUE FALSE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [37] FALSE TRUE TRUE TRUE TRUE FALSE FALSE TRUE TRUE FALSE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [49] FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [49] TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE TRUE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [61] FALSE FALSE FALSE TRUE TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [61] FALSE TRUE TRUE FALSE TRUE FALSE FALSE FALSE TRUE FALSE TRUE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [73] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [73] FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE TRUE FALSE FALSE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [85] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [85] TRUE FALSE TRUE TRUE FALSE FALSE FALSE TRUE FALSE FALSE FALSE TRUE</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [97] TRUE FALSE FALSE FALSE</span>
|
<span class="r-out co"><span class="r-pr">#></span> [97] FALSE FALSE FALSE FALSE</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># filter on results from the third 60-day episode only, using base R</span></span></span>
|
<span class="r-in"><span><span class="co"># filter on results from the third 60-day episode only, using base R</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">df</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/which.html" class="external-link">which</a></span><span class="op">(</span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, <span class="fl">60</span><span class="op">)</span> <span class="op">==</span> <span class="fl">3</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
<span class="r-in"><span><span class="va">df</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/which.html" class="external-link">which</a></span><span class="op">(</span><span class="fu">get_episode</span><span class="op">(</span><span class="va">df</span><span class="op">$</span><span class="va">date</span>, <span class="fl">60</span><span class="op">)</span> <span class="op">==</span> <span class="fl">3</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 4 × 46</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 1 × 46</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
<span class="r-out co"><span class="r-pr">#></span> date patient age gender ward mo PEN OXA FLC AMX </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><dbl></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span> <span style="color: #949494; font-style: italic;"><sir></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2003-04-13 A26548 87 M ICU B_STPHY_CONS S NA S NA </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> 2002-06-07 710157 76 M Outpatie… B_STPHY_CONS S NA S NA </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> 2003-05-04 573042 65 F Outpatie… B_STPHY_CONS R NA S NA </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> 2003-03-22 E44854 60 F ICU B_STRPT_PNMN S NA NA S </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">4</span> 2003-04-08 114570 74 M ICU B_STRPT_GRPA S NA S S </span>
|
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 36 more variables: AMC <sir>, AMP <sir>, TZP <sir>, CZO <sir>, FEP <sir>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 36 more variables: AMC <sir>, AMP <sir>, TZP <sir>, CZO <sir>, FEP <sir>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># CXM <sir>, FOX <sir>, CTX <sir>, CAZ <sir>, CRO <sir>, GEN <sir>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># CXM <sir>, FOX <sir>, CTX <sir>, CAZ <sir>, CRO <sir>, GEN <sir>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># TOB <sir>, AMK <sir>, KAN <sir>, TMP <sir>, SXT <sir>, NIT <sir>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># TOB <sir>, AMK <sir>, KAN <sir>, TMP <sir>, SXT <sir>, NIT <sir>,</span></span>
|
||||||
@ -306,16 +303,16 @@
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: patient, condition [99]</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: patient, condition [99]</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> patient date condition new_episode</span>
|
<span class="r-out co"><span class="r-pr">#></span> patient date condition new_episode</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 058917 2002-11-14 A TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 034010 2010-02-26 C TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 065133 2011-12-19 C TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 04C169 2012-07-18 A TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 080086 2010-08-08 B TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 058917 2002-11-14 C TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 082622 2014-02-08 C TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 078381 2014-06-28 C TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 09B453 2010-03-21 B TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 097186 2015-10-28 B TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 0C0688 2014-09-05 A TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 0E2483 2007-06-21 A TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 0E2483 2008-07-22 C TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 136315 2004-02-02 A TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 114570 2003-04-08 B TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 179451 2007-09-15 C TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 155435 2014-06-18 A TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 181687 2008-05-04 A TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 156730 2012-04-12 B TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 183220 2008-11-14 B TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 90 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 90 more rows</span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
@ -329,19 +326,19 @@
|
|||||||
<span class="r-in"><span> <span class="fu"><a href="https://dplyr.tidyverse.org/reference/arrange.html" class="external-link">arrange</a></span><span class="op">(</span><span class="va">patient</span>, <span class="va">ward</span>, <span class="va">date</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://dplyr.tidyverse.org/reference/arrange.html" class="external-link">arrange</a></span><span class="op">(</span><span class="va">patient</span>, <span class="va">ward</span>, <span class="va">date</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 100 × 5</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 100 × 5</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: ward, patient [96]</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: ward, patient [95]</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> ward date patient new_index new_logical</span>
|
<span class="r-out co"><span class="r-pr">#></span> ward date patient new_index new_logical</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><date></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> ICU 2002-11-14 058917 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> Clinical 2010-02-26 034010 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> Clinical 2011-12-19 065133 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> Clinical 2012-07-18 04C169 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> Clinical 2010-08-08 080086 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> ICU 2002-11-14 058917 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> ICU 2014-02-08 082622 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> ICU 2014-06-28 078381 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> Clinical 2010-03-21 09B453 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> Clinical 2015-10-28 097186 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> Clinical 2014-09-05 0C0688 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> ICU 2007-06-21 0E2483 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> Clinical 2008-07-22 0E2483 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> Clinical 2004-02-02 136315 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> ICU 2003-04-08 114570 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> ICU 2007-09-15 179451 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> Clinical 2014-06-18 155435 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> Outpatient 2008-05-04 181687 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> Clinical 2012-04-12 156730 1 TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> Clinical 2008-11-14 183220 1 TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 90 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 90 more rows</span></span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
@ -357,9 +354,9 @@
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 3 × 5</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 3 × 5</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> ward n_patients n_episodes_365 n_episodes_60 n_episodes_30</span>
|
<span class="r-out co"><span class="r-pr">#></span> ward n_patients n_episodes_365 n_episodes_60 n_episodes_30</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span> <span style="color: #949494; font-style: italic;"><int></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> Clinical 59 13 38 46</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">1</span> Clinical 55 14 43 48</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 34 10 27 29</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">2</span> ICU 30 12 25 30</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 3 3 3 3</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">3</span> Outpatient 10 7 10 10</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># grouping on patients and microorganisms leads to the same</span></span></span>
|
<span class="r-in"><span><span class="co"># grouping on patients and microorganisms leads to the same</span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># results as first_isolate() when using 'episode-based':</span></span></span>
|
<span class="r-in"><span><span class="co"># results as first_isolate() when using 'episode-based':</span></span></span>
|
||||||
@ -388,19 +385,19 @@
|
|||||||
<span class="r-in"><span> <span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/group_data.html" class="external-link">group_vars</a></span><span class="op">(</span><span class="va">.</span><span class="op">)</span>, <span class="va">flag_episode</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> <span class="fu"><a href="https://dplyr.tidyverse.org/reference/select.html" class="external-link">select</a></span><span class="op">(</span><span class="fu"><a href="https://dplyr.tidyverse.org/reference/group_data.html" class="external-link">group_vars</a></span><span class="op">(</span><span class="va">.</span><span class="op">)</span>, <span class="va">flag_episode</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 100 × 4</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 100 × 4</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: patient, mo, ward [100]</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># Groups: patient, mo, ward [98]</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> patient mo ward flag_episode</span>
|
<span class="r-out co"><span class="r-pr">#></span> patient mo ward flag_episode</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><lgl></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 32C481 B_STPHY_CONS Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> 181687 B_STRPT_ANGN Outpatient TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 337539 B_STPHY_EPDR Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> 823896 B_STPHY_CONS Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> A26548 B_STPHY_CONS ICU TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> 802237 B_ESCHR_COLI Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> B65162 B_STRPT_PNMN Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> 280834 B_STPHY_EPDR Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> A61219 B_ESCHR_COLI Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> 1B0933 B_STPHY_AURS Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> BF4515 B_ESCHR_COLI Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> 078381 B_STPHY_EPDR ICU TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 82C90B B_STPHY_CONS Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> 662978 B_ESCHR_COLI Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 960698 B_ESCHR_COLI Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> 695956 B_STRPT_PNMN Outpatient TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> 0C0688 B_ESCHR_COLI Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> AB0003 B_ESCHR_COLI Clinical TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 6F0804 B_STRPT_PNMN Clinical TRUE </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> 763991 B_STPHY_AURS ICU TRUE </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 90 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 90 more rows</span></span>
|
||||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -391,12 +391,12 @@
|
|||||||
|
|
||||||
<code><a href="microorganisms.html">microorganisms</a></code>
|
<code><a href="microorganisms.html">microorganisms</a></code>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>Data Set with 52 149 Microorganisms</dd>
|
<dd>Data Set with 52 151 Microorganisms</dd>
|
||||||
</dl><dl><dt>
|
</dl><dl><dt>
|
||||||
|
|
||||||
<code><a href="microorganisms.codes.html">microorganisms.codes</a></code>
|
<code><a href="microorganisms.codes.html">microorganisms.codes</a></code>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>Data Set with 5 751 Common Microorganism Codes</dd>
|
<dd>Data Set with 5 754 Common Microorganism Codes</dd>
|
||||||
</dl><dl><dt>
|
</dl><dl><dt>
|
||||||
|
|
||||||
<code><a href="antibiotics.html">antibiotics</a></code> <code><a href="antibiotics.html">antivirals</a></code>
|
<code><a href="antibiotics.html">antibiotics</a></code> <code><a href="antibiotics.html">antivirals</a></code>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -182,9 +182,9 @@
|
|||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 2.995766</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 2.979675</span>
|
||||||
<span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span>, excess <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">kurtosis</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Normal.html" class="external-link">rnorm</a></span><span class="op">(</span><span class="fl">10000</span><span class="op">)</span>, excess <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] -0.04353375</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.03963171</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -201,31 +201,30 @@
|
|||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">sir</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_sir</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">sir</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_sir</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">sir</span></span></span>
|
<span class="r-in"><span><span class="va">sir</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'sir'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'sir'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] R I S S I R S I R R</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] R R R S R I S I I S</span>
|
||||||
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">sir</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">sir</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 1.1618950 -0.7745967 -0.7745967 -0.7745967 -0.7745967 1.1618950</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 1.1618950 1.1618950 1.1618950 -0.7745967 1.1618950 -0.7745967</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] -0.7745967 -0.7745967 1.1618950 1.1618950</span>
|
<span class="r-out co"><span class="r-pr">#></span> [7] -0.7745967 -0.7745967 -0.7745967 -0.7745967</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="va">mic</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_mic</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="va">mic</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_mic</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">mic</span></span></span>
|
<span class="r-in"><span><span class="va">mic</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.025 0.01 128 32 0.025 <=0.002 <=0.002 8 64 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 0.125 4 16 >=256 0.002 0.01 0.0625 2 >=256 128 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [10] 64 </span>
|
|
||||||
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">mic</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">mic</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] -0.6668789 -0.8627824 1.1591730 0.8627824 -0.6668789 -1.2068812</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.60649465 0.20453613 0.52894844 1.17777307 -1.57418159 -1.19755056</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] -1.2068812 0.5663918 1.0109777 1.0109777</span>
|
<span class="r-out co"><span class="r-pr">#></span> [7] -0.76870081 0.04232998 1.17777307 1.01556691</span>
|
||||||
<span class="r-in"><span><span class="co"># equal to the Z-score of their log2:</span></span></span>
|
<span class="r-in"><span><span class="co"># equal to the Z-score of their log2:</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/Log.html" class="external-link">log2</a></span><span class="op">(</span><span class="va">mic</span><span class="op">)</span> <span class="op">-</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/Log.html" class="external-link">log2</a></span><span class="op">(</span><span class="va">mic</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">/</span> <span class="fu"><a href="https://rdrr.io/r/stats/sd.html" class="external-link">sd</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/Log.html" class="external-link">log2</a></span><span class="op">(</span><span class="va">mic</span><span class="op">)</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/Log.html" class="external-link">log2</a></span><span class="op">(</span><span class="va">mic</span><span class="op">)</span> <span class="op">-</span> <span class="fu"><a href="https://rdrr.io/r/base/mean.html" class="external-link">mean</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/Log.html" class="external-link">log2</a></span><span class="op">(</span><span class="va">mic</span><span class="op">)</span><span class="op">)</span><span class="op">)</span> <span class="op">/</span> <span class="fu"><a href="https://rdrr.io/r/stats/sd.html" class="external-link">sd</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/Log.html" class="external-link">log2</a></span><span class="op">(</span><span class="va">mic</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] -0.6668789 -0.8627824 1.1591730 0.8627824 -0.6668789 -1.2068812</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.60649465 0.20453613 0.52894844 1.17777307 -1.57418159 -1.19755056</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] -1.2068812 0.5663918 1.0109777 1.0109777</span>
|
<span class="r-out co"><span class="r-pr">#></span> [7] -0.76870081 0.04232998 1.17777307 1.01556691</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="va">disk</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_disk</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="va">disk</span> <span class="op"><-</span> <span class="fu"><a href="random.html">random_disk</a></span><span class="op">(</span><span class="fl">10</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">disk</span></span></span>
|
<span class="r-in"><span><span class="va">disk</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 6 6 47 20 16 48 50 42 40 30</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 39 30 35 42 40 19 36 39 47 33</span>
|
||||||
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">disk</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">disk</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] -1.41385375 -1.41385375 0.95218722 -0.60593732 -0.83677059 1.00989554</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 0.3924186 -0.7848373 -0.1308062 0.7848373 0.5232249 -2.2237057</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] 1.12531217 0.66364564 0.54822900 -0.02885416</span>
|
<span class="r-out co"><span class="r-pr">#></span> [7] 0.0000000 0.3924186 1.4388684 -0.3924186</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="va">y</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
<span class="r-in"><span><span class="va">y</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html" class="external-link">data.frame</a></span><span class="op">(</span></span></span>
|
||||||
<span class="r-in"><span> id <span class="op">=</span> <span class="va">LETTERS</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">10</span><span class="op">]</span>,</span></span>
|
<span class="r-in"><span> id <span class="op">=</span> <span class="va">LETTERS</span><span class="op">[</span><span class="fl">1</span><span class="op">:</span><span class="fl">10</span><span class="op">]</span>,</span></span>
|
||||||
@ -235,22 +234,22 @@
|
|||||||
<span class="r-in"><span> tobr <span class="op">=</span> <span class="fu"><a href="random.html">random_mic</a></span><span class="op">(</span><span class="fl">10</span>, ab <span class="op">=</span> <span class="st">"tobr"</span>, mo <span class="op">=</span> <span class="st">"Escherichia coli"</span><span class="op">)</span></span></span>
|
<span class="r-in"><span> tobr <span class="op">=</span> <span class="fu"><a href="random.html">random_mic</a></span><span class="op">(</span><span class="fl">10</span>, ab <span class="op">=</span> <span class="st">"tobr"</span>, mo <span class="op">=</span> <span class="st">"Escherichia coli"</span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="op">)</span></span></span>
|
||||||
<span class="r-in"><span><span class="va">y</span></span></span>
|
<span class="r-in"><span><span class="va">y</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr</span>
|
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 A S 27 <=0.5 16</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 A I 30 1 <=0.25</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 B I 24 <=0.5 4</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 B S 23 1 16</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 C R 21 >=16 16</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 C I 17 8 1</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 D I 18 <=0.5 4</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 D R 20 >=16 16</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 E I 27 8 16</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 E S 25 <=0.5 0.5</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 F S 28 >=16 8</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 F S 19 1 4</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 G R 28 4 2</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 G I 27 <=0.5 <=0.25</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 H I 20 <=0.5 2</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 H R 26 8 16</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 I S 19 <=0.5 8</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 I R 18 2 4</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 J S 29 >=16 16</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 J R 20 8 0.5</span>
|
||||||
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span><span class="op">)</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent",</span>
|
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent",</span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> and "tobr"</span>
|
<span class="r-msg co"><span class="r-pr">#></span> and "tobr"</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.06722963 -0.51689491 0.82743999 -0.87165479 0.48486417 0.44502714</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.2236361 -0.0243641 -0.3696267 0.8211210 -0.5440220 -0.4545619</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [7] 0.42239233 -0.95677380 -0.60915584 0.70752609</span>
|
<span class="r-out co"><span class="r-pr">#></span> [7] -0.5293690 1.0323298 0.1055421 0.1865871</span>
|
||||||
<span class="r-in"><span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span> <span class="op"><-</span> <span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span>, <span class="fu"><a href="https://tidyselect.r-lib.org/reference/where.html" class="external-link">where</a></span><span class="op">(</span><span class="va">is.mic</span><span class="op">)</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span> <span class="op"><-</span> <span class="fu">mean_amr_distance</span><span class="op">(</span><span class="va">y</span>, <span class="fu"><a href="https://tidyselect.r-lib.org/reference/where.html" class="external-link">where</a></span><span class="op">(</span><span class="va">is.mic</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in .subset(x, j):</span> invalid subscript type 'list'</span>
|
<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in .subset(x, j):</span> invalid subscript type 'list'</span>
|
||||||
<span class="r-in"><span><span class="va">y</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/order.html" class="external-link">order</a></span><span class="op">(</span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
<span class="r-in"><span><span class="va">y</span><span class="op">[</span><span class="fu"><a href="https://rdrr.io/r/base/order.html" class="external-link">order</a></span><span class="op">(</span><span class="va">y</span><span class="op">$</span><span class="va">amr_distance</span><span class="op">)</span>, <span class="op">]</span></span></span>
|
||||||
@ -266,17 +265,17 @@
|
|||||||
<span class="r-in"><span><span class="op">}</span></span></span>
|
<span class="r-in"><span><span class="op">}</span></span></span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent",</span>
|
<span class="r-msg co"><span class="r-pr">#></span> ℹ Calculating mean AMR distance based on columns "amox", "cipr", "gent",</span>
|
||||||
<span class="r-msg co"><span class="r-pr">#></span> and "tobr"</span>
|
<span class="r-msg co"><span class="r-pr">#></span> and "tobr"</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr amr_distance check_id_C</span>
|
<span class="r-out co"><span class="r-pr">#></span> id amox cipr gent tobr amr_distance check_id_C</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 1 C R 21 >=16 16 0.82743999 0.0000000</span>
|
<span class="r-out co"><span class="r-pr">#></span> 1 C I 17 8 1 -0.3696267 0.00000000</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 2 J S 29 >=16 16 0.70752609 0.1199139</span>
|
<span class="r-out co"><span class="r-pr">#></span> 2 F S 19 1 4 -0.4545619 0.08493517</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 3 E I 27 8 16 0.48486417 0.3425758</span>
|
<span class="r-out co"><span class="r-pr">#></span> 3 A I 30 1 <=0.25 -0.2236361 0.14599062</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 4 F S 28 >=16 8 0.44502714 0.3824128</span>
|
<span class="r-out co"><span class="r-pr">#></span> 4 G I 27 <=0.5 <=0.25 -0.5293690 0.15974230</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 5 G R 28 4 2 0.42239233 0.4050477</span>
|
<span class="r-out co"><span class="r-pr">#></span> 5 E S 25 <=0.5 0.5 -0.5440220 0.17439527</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 6 A S 27 <=0.5 16 0.06722963 0.7602104</span>
|
<span class="r-out co"><span class="r-pr">#></span> 6 B S 23 1 16 -0.0243641 0.34526264</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 7 B I 24 <=0.5 4 -0.51689491 1.3443349</span>
|
<span class="r-out co"><span class="r-pr">#></span> 7 I R 18 2 4 0.1055421 0.47516879</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 8 I S 19 <=0.5 8 -0.60915584 1.4365958</span>
|
<span class="r-out co"><span class="r-pr">#></span> 8 J R 20 8 0.5 0.1865871 0.55621386</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 9 D I 18 <=0.5 4 -0.87165479 1.6990948</span>
|
<span class="r-out co"><span class="r-pr">#></span> 9 D R 20 >=16 16 0.8211210 1.19074770</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> 10 H I 20 <=0.5 2 -0.95677380 1.7842138</span>
|
<span class="r-out co"><span class="r-pr">#></span> 10 H R 26 8 16 1.0323298 1.40195650</span>
|
||||||
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
<span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="st"><a href="https://dplyr.tidyverse.org" class="external-link">"dplyr"</a></span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span>
|
||||||
<span class="r-in"><span> <span class="co"># support for groups</span></span></span>
|
<span class="r-in"><span> <span class="co"># support for groups</span></span></span>
|
||||||
<span class="r-in"><span> <span class="va">example_isolates</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
<span class="r-in"><span> <span class="va">example_isolates</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%>%</a></span></span></span>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="A data set containing commonly used codes for microorganisms, from laboratory systems and WHONET. Define your own with set_mo_source(). They will all be searched when using as.mo() and consequently all the mo_* functions."><title>Data Set with 5 751 Common Microorganism Codes — microorganisms.codes • AMR (for R)</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><link href="../deps/Fira_Code-0.4.5/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><script src="../extra.js"></script><meta property="og:title" content="Data Set with 5 751 Common Microorganism Codes — microorganisms.codes"><meta property="og:description" content="A data set containing commonly used codes for microorganisms, from laboratory systems and WHONET. Define your own with set_mo_source(). They will all be searched when using as.mo() and consequently all the mo_* functions."><meta property="og:image" content="https://msberends.github.io/AMR/logo.svg"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:creator" content="@msberends"><meta name="twitter:site" content="@msberends"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="A data set containing commonly used codes for microorganisms, from laboratory systems and WHONET. Define your own with set_mo_source(). They will all be searched when using as.mo() and consequently all the mo_* functions."><title>Data Set with 5 754 Common Microorganism Codes — microorganisms.codes • AMR (for R)</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><link href="../deps/Fira_Code-0.4.5/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><script src="../extra.js"></script><meta property="og:title" content="Data Set with 5 754 Common Microorganism Codes — microorganisms.codes"><meta property="og:description" content="A data set containing commonly used codes for microorganisms, from laboratory systems and WHONET. Define your own with set_mo_source(). They will all be searched when using as.mo() and consequently all the mo_* functions."><meta property="og:image" content="https://msberends.github.io/AMR/logo.svg"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:creator" content="@msberends"><meta name="twitter:site" content="@msberends"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
<![endif]--></head><body>
|
<![endif]--></head><body>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -137,7 +137,7 @@
|
|||||||
</nav><div class="container template-reference-topic">
|
</nav><div class="container template-reference-topic">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<main id="main" class="col-md-9"><div class="page-header">
|
<main id="main" class="col-md-9"><div class="page-header">
|
||||||
<img src="../logo.svg" class="logo" alt=""><h1>Data Set with 5 751 Common Microorganism Codes</h1>
|
<img src="../logo.svg" class="logo" alt=""><h1>Data Set with 5 754 Common Microorganism Codes</h1>
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/R/data.R" class="external-link"><code>R/data.R</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/R/data.R" class="external-link"><code>R/data.R</code></a></small>
|
||||||
<div class="d-none name"><code>microorganisms.codes.Rd</code></div>
|
<div class="d-none name"><code>microorganisms.codes.Rd</code></div>
|
||||||
</div>
|
</div>
|
||||||
@ -153,7 +153,7 @@
|
|||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
|
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
|
||||||
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 5 751 observations and 2 variables:</p><ul><li><p><code>code</code><br> Commonly used code of a microorganism</p></li>
|
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 5 754 observations and 2 variables:</p><ul><li><p><code>code</code><br> Commonly used code of a microorganism</p></li>
|
||||||
<li><p><code>mo</code><br> ID of the microorganism in the <a href="microorganisms.html">microorganisms</a> data set</p></li>
|
<li><p><code>mo</code><br> ID of the microorganism in the <a href="microorganisms.html">microorganisms</a> data set</p></li>
|
||||||
</ul></div>
|
</ul></div>
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
@ -168,7 +168,7 @@
|
|||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">microorganisms.codes</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">microorganisms.codes</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 5,751 × 2</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 5,754 × 2</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> code mo </span>
|
<span class="r-out co"><span class="r-pr">#></span> code mo </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><mo></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> _FAM_A- B_GRAMN </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> _FAM_A- B_GRAMN </span>
|
||||||
@ -181,7 +181,7 @@
|
|||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> _FAM_AS F_FUNGUS </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> _FAM_AS F_FUNGUS </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> _FAM_AT UNKNOWN</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> _FAM_AT UNKNOWN</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> _FAM_AV UNKNOWN</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> _FAM_AV UNKNOWN</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 5,741 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 5,744 more rows</span></span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="A data set containing the full microbial taxonomy (last updated: 11 December, 2022) of five kingdoms from the List of Prokaryotic names with Standing in Nomenclature (LPSN) and the Global Biodiversity Information Facility (GBIF). This data set is the backbone of this AMR package. MO codes can be looked up using as.mo()."><title>Data Set with 52 149 Microorganisms — microorganisms • AMR (for R)</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><link href="../deps/Fira_Code-0.4.5/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><script src="../extra.js"></script><meta property="og:title" content="Data Set with 52 149 Microorganisms — microorganisms"><meta property="og:description" content="A data set containing the full microbial taxonomy (last updated: 11 December, 2022) of five kingdoms from the List of Prokaryotic names with Standing in Nomenclature (LPSN) and the Global Biodiversity Information Facility (GBIF). This data set is the backbone of this AMR package. MO codes can be looked up using as.mo()."><meta property="og:image" content="https://msberends.github.io/AMR/logo.svg"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:creator" content="@msberends"><meta name="twitter:site" content="@msberends"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
<!-- Generated by pkgdown: do not edit by hand --><html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="description" content="A data set containing the full microbial taxonomy (last updated: 11 December, 2022) of five kingdoms from the List of Prokaryotic names with Standing in Nomenclature (LPSN) and the Global Biodiversity Information Facility (GBIF). This data set is the backbone of this AMR package. MO codes can be looked up using as.mo()."><title>Data Set with 52 151 Microorganisms — microorganisms • AMR (for R)</title><!-- favicons --><link rel="icon" type="image/png" sizes="16x16" href="../favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="../favicon-32x32.png"><link rel="apple-touch-icon" type="image/png" sizes="180x180" href="../apple-touch-icon.png"><link rel="apple-touch-icon" type="image/png" sizes="120x120" href="../apple-touch-icon-120x120.png"><link rel="apple-touch-icon" type="image/png" sizes="76x76" href="../apple-touch-icon-76x76.png"><link rel="apple-touch-icon" type="image/png" sizes="60x60" href="../apple-touch-icon-60x60.png"><script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><link href="../deps/Fira_Code-0.4.5/font.css" rel="stylesheet"><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous"><!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><link href="../extra.css" rel="stylesheet"><script src="../extra.js"></script><meta property="og:title" content="Data Set with 52 151 Microorganisms — microorganisms"><meta property="og:description" content="A data set containing the full microbial taxonomy (last updated: 11 December, 2022) of five kingdoms from the List of Prokaryotic names with Standing in Nomenclature (LPSN) and the Global Biodiversity Information Facility (GBIF). This data set is the backbone of this AMR package. MO codes can be looked up using as.mo()."><meta property="og:image" content="https://msberends.github.io/AMR/logo.svg"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:creator" content="@msberends"><meta name="twitter:site" content="@msberends"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||||
<![endif]--></head><body>
|
<![endif]--></head><body>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -137,7 +137,7 @@
|
|||||||
</nav><div class="container template-reference-topic">
|
</nav><div class="container template-reference-topic">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<main id="main" class="col-md-9"><div class="page-header">
|
<main id="main" class="col-md-9"><div class="page-header">
|
||||||
<img src="../logo.svg" class="logo" alt=""><h1>Data Set with 52 149 Microorganisms</h1>
|
<img src="../logo.svg" class="logo" alt=""><h1>Data Set with 52 151 Microorganisms</h1>
|
||||||
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/R/data.R" class="external-link"><code>R/data.R</code></a></small>
|
<small class="dont-index">Source: <a href="https://github.com/msberends/AMR/blob/HEAD/R/data.R" class="external-link"><code>R/data.R</code></a></small>
|
||||||
<div class="d-none name"><code>microorganisms.Rd</code></div>
|
<div class="d-none name"><code>microorganisms.Rd</code></div>
|
||||||
</div>
|
</div>
|
||||||
@ -153,7 +153,7 @@
|
|||||||
|
|
||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
|
<h2 id="format">Format<a class="anchor" aria-label="anchor" href="#format"></a></h2>
|
||||||
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 52 149 observations and 22 variables:</p><ul><li><p><code>mo</code><br> ID of microorganism as used by this package</p></li>
|
<p>A <a href="https://tibble.tidyverse.org/reference/tibble.html" class="external-link">tibble</a> with 52 151 observations and 22 variables:</p><ul><li><p><code>mo</code><br> ID of microorganism as used by this package</p></li>
|
||||||
<li><p><code>fullname</code><br> Full name, like <code>"Escherichia coli"</code>. For the taxonomic ranks genus, species and subspecies, this is the 'pasted' text of genus, species, and subspecies. For all taxonomic ranks higher than genus, this is the name of the taxon.</p></li>
|
<li><p><code>fullname</code><br> Full name, like <code>"Escherichia coli"</code>. For the taxonomic ranks genus, species and subspecies, this is the 'pasted' text of genus, species, and subspecies. For all taxonomic ranks higher than genus, this is the name of the taxon.</p></li>
|
||||||
<li><p><code>status</code> <br> Status of the taxon, either "accepted" or "synonym"</p></li>
|
<li><p><code>status</code> <br> Status of the taxon, either "accepted" or "synonym"</p></li>
|
||||||
<li><p><code>kingdom</code>, <code>phylum</code>, <code>class</code>, <code>order</code>, <code>family</code>, <code>genus</code>, <code>species</code>, <code>subspecies</code><br> Taxonomic rank of the microorganism</p></li>
|
<li><p><code>kingdom</code>, <code>phylum</code>, <code>class</code>, <code>order</code>, <code>family</code>, <code>genus</code>, <code>species</code>, <code>subspecies</code><br> Taxonomic rank of the microorganism</p></li>
|
||||||
@ -209,7 +209,7 @@
|
|||||||
<li><p>2 entries of <em>Staphylococcus</em> (coagulase-negative (CoNS) and coagulase-positive (CoPS))</p></li>
|
<li><p>2 entries of <em>Staphylococcus</em> (coagulase-negative (CoNS) and coagulase-positive (CoPS))</p></li>
|
||||||
<li><p>1 entry of <em>Blastocystis</em> (<em>B. hominis</em>), although it officially does not exist (Noel <em>et al.</em> 2005, PMID 15634993)</p></li>
|
<li><p>1 entry of <em>Blastocystis</em> (<em>B. hominis</em>), although it officially does not exist (Noel <em>et al.</em> 2005, PMID 15634993)</p></li>
|
||||||
<li><p>1 entry of <em>Moraxella</em> (<em>M. catarrhalis</em>), which was formally named <em>Branhamella catarrhalis</em> (Catlin, 1970) though this change was never accepted within the field of clinical microbiology</p></li>
|
<li><p>1 entry of <em>Moraxella</em> (<em>M. catarrhalis</em>), which was formally named <em>Branhamella catarrhalis</em> (Catlin, 1970) though this change was never accepted within the field of clinical microbiology</p></li>
|
||||||
<li><p>6 other 'undefined' entries (unknown, unknown Gram negatives, unknown Gram positives, unknown yeast, unknown fungus, and unknown anaerobic bacteria)</p></li>
|
<li><p>8 other 'undefined' entries (unknown, unknown Gram-negatives, unknown Gram-positives, unknown yeast, unknown fungus, and unknown anaerobic Gram-pos/Gram-neg bacteria)</p></li>
|
||||||
</ul><p>The syntax used to transform the original data to a cleansed <span style="R">R</span> format, can be found here: <a href="https://github.com/msberends/AMR/blob/main/data-raw/reproduction_of_microorganisms.R" class="external-link">https://github.com/msberends/AMR/blob/main/data-raw/reproduction_of_microorganisms.R</a>.</p>
|
</ul><p>The syntax used to transform the original data to a cleansed <span style="R">R</span> format, can be found here: <a href="https://github.com/msberends/AMR/blob/main/data-raw/reproduction_of_microorganisms.R" class="external-link">https://github.com/msberends/AMR/blob/main/data-raw/reproduction_of_microorganisms.R</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -236,24 +236,23 @@
|
|||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">microorganisms</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">microorganisms</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 52,149 × 22</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># A tibble: 52,151 × 22</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> mo fullname status kingdom phylum class order family genus</span>
|
<span class="r-out co"><span class="r-pr">#></span> mo fullname status kingdom phylum class order family genus species</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><mo></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> <span style="color: #949494; font-style: italic;"><chr></span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> B_ANAER (unknown ana… accep… Bacter… (unkn… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 1</span> B_ANAER (unknow… accep… Bacter… (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> F_FUNGUS (unknown fun… accep… Fungi (unkn… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 2</span> B_ANAER-NEG (unknow… accep… Bacter… (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> B_GRAMN (unknown Gra… accep… Bacter… (unkn… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 3</span> B_ANAER-POS (unknow… accep… Bacter… (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> B_GRAMP (unknown Gra… accep… Bacter… (unkn… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 4</span> F_FUNGUS (unknow… accep… Fungi (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> UNKNOWN (unknown nam… accep… (unkno… (unkn… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 5</span> B_GRAMN (unknow… accep… Bacter… (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> F_YEAST (unknown yea… accep… Fungi (unkn… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un…</span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 6</span> B_GRAMP (unknow… accep… Bacter… (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> B_[FAM]_ABDTBCTR Abditibacter… accep… Bacter… Abdit… <span style="color: #949494;">"</span>Abd… <span style="color: #949494;">"</span>Abd… <span style="color: #949494;">"</span>Abdi… <span style="color: #949494;">""</span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 7</span> UNKNOWN (unknow… accep… (unkno… (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> B_[ORD]_ABDTBCTR Abditibacter… accep… Bacter… Abdit… <span style="color: #949494;">"</span>Abd… <span style="color: #949494;">"</span>Abd… <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 8</span> F_YEAST (unknow… accep… Fungi (unkn… (unk… (unk… <span style="color: #949494;">"</span>(unk… <span style="color: #949494;">"</span>(un… <span style="color: #949494;">"</span>(unkn…</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> B_[CLS]_ADTBCTRA Abditibacter… accep… Bacter… Abdit… <span style="color: #949494;">"</span>Abd… <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;"> 9</span> B_[FAM]_ABDT… Abditib… accep… Bacter… Abdit… Abdi… Abdi… <span style="color: #949494;">"</span>Abdi… <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> B_[PHL]_ABDTBCTR Abditibacter… accep… Bacter… Abdit… <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> </span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #BCBCBC;">10</span> B_[ORD]_ABDT… Abditib… accep… Bacter… Abdit… Abdi… Abdi… <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> <span style="color: #949494;">""</span> </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 52,139 more rows</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 52,141 more rows</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 13 more variables: species <chr>, subspecies <chr>, rank <chr>, ref <chr>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># ℹ 12 more variables: subspecies <chr>, rank <chr>, ref <chr>, source <chr>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># source <chr>, lpsn <chr>, lpsn_parent <chr>, lpsn_renamed_to <chr>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># lpsn <chr>, lpsn_parent <chr>, lpsn_renamed_to <chr>, gbif <chr>,</span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># gbif <chr>, gbif_parent <chr>, gbif_renamed_to <chr>, prevalence <dbl>,</span></span>
|
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># gbif_parent <chr>, gbif_renamed_to <chr>, prevalence <dbl>, snomed <list></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> <span style="color: #949494;"># snomed <list></span></span>
|
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ This is the fastest way to have your organisation (or analysis) specific codes p
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 26 KiB |
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -312,6 +312,8 @@
|
|||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># when providing the microorganism and antibiotic, colours will show interpretations:</span></span></span>
|
<span class="r-in"><span><span class="co"># when providing the microorganism and antibiotic, colours will show interpretations:</span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">plot</span><span class="op">(</span><span class="va">some_mic_values</span>, mo <span class="op">=</span> <span class="st">"S. aureus"</span>, ab <span class="op">=</span> <span class="st">"ampicillin"</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">plot</span><span class="op">(</span><span class="va">some_mic_values</span>, mo <span class="op">=</span> <span class="st">"S. aureus"</span>, ab <span class="op">=</span> <span class="st">"ampicillin"</span><span class="op">)</span></span></span>
|
||||||
|
<span class="r-msg co"><span class="r-pr">#></span> ℹ No EUCAST 2022 MIC interpretations found for ampicillin in Staphylococcus</span>
|
||||||
|
<span class="r-msg co"><span class="r-pr">#></span> aureus</span>
|
||||||
<span class="r-plt img"><img src="plot-4.png" alt="" width="700" height="433"></span>
|
<span class="r-plt img"><img src="plot-4.png" alt="" width="700" height="433"></span>
|
||||||
<span class="r-in"><span><span class="fu">plot</span><span class="op">(</span><span class="va">some_disk_values</span>, mo <span class="op">=</span> <span class="st">"Escherichia coli"</span>, ab <span class="op">=</span> <span class="st">"cipro"</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">plot</span><span class="op">(</span><span class="va">some_disk_values</span>, mo <span class="op">=</span> <span class="st">"Escherichia coli"</span>, ab <span class="op">=</span> <span class="st">"cipro"</span><span class="op">)</span></span></span>
|
||||||
<span class="r-plt img"><img src="plot-5.png" alt="" width="700" height="433"></span>
|
<span class="r-plt img"><img src="plot-5.png" alt="" width="700" height="433"></span>
|
||||||
|
@ -12,7 +12,7 @@ resistance() should be used to calculate resistance, susceptibility() should be
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -193,42 +193,42 @@
|
|||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] <=0.001 >=256 0.0625 0.25 1 0.025 0.002 0.005 1 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 128 8 2 64 64 0.002 4 0.025 <=0.001</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [10] 0.025 16 8 4 0.5 0.005 0.125 32 0.025 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [10] 0.01 16 0.5 <=0.001 1 64 0.5 0.002 0.125 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [19] 0.5 <=0.001 <=0.001 1 0.0625 >=256 0.01 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [19] 0.025 8 0.025 8 >=256 0.005 0.5 </span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 10 17 19 43 50 18 50 14 49 16 47 28 27 48 40 21 49 44 50 23 12 10 46 19 48</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 17 34 17 49 40 28 47 24 44 6 31 46 41 47 36 15 48 49 44 50 18 49 44 20 27</span>
|
||||||
<span class="r-in"><span><span class="fu">random_sir</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
<span class="r-in"><span><span class="fu">random_sir</span><span class="op">(</span><span class="fl">25</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'sir'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'sir'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] S R I R I R I I S R I I I R I R I I I I I R I S I</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] S S S S S I S R R R I R I S R I I I S I S S I R S</span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># \donttest{</span></span></span>
|
<span class="r-in"><span><span class="co"># \donttest{</span></span></span>
|
||||||
<span class="r-in"><span><span class="co"># make the random generation more realistic by setting a bug and/or drug:</span></span></span>
|
<span class="r-in"><span><span class="co"># make the random generation more realistic by setting a bug and/or drug:</span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 0.0625-64</span></span></span>
|
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 0.0625-64</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.0625 0.001 0.001 64 0.025 0.25 1 0.0625 256 0.25 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 64 0.25 0.125 <=0.001 0.005 2 <=0.001 0.005 16 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [11] 0.01 0.001 2 8 0.01 32 0.002 0.5 0.125 0.005 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [10] 2 32 0.01 0.005 0.25 <=0.001 0.125 2 16 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [21] 4 32 0.25 0.5 0.005 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [19] 0.025 0.25 0.005 4 0.025 8 64 </span>
|
||||||
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-16</span></span></span>
|
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-16</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 16 1 8 2 1 >=32 2 0.5 >=32 >=32 1 >=32 4 >=32 16 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 2 4 >=32 1 8 >=32 0.5 4 4 8 0.5 16 8 4 4 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [16] 1 0.5 0.5 4 0.5 8 1 1 >=32 4 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [16] 16 4 1 4 0.5 0.5 >=32 2 >=32 >=32</span>
|
||||||
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-4</span></span></span>
|
<span class="r-in"><span><span class="fu">random_mic</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"meropenem"</span><span class="op">)</span> <span class="co"># range 0.0625-4</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'mic'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.125 0.125 0.125 0.25 0.125 0.25 2 0.25 0.25 2 0.5 4 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 4 0.25 2 4 2 0.5 0.25 0.0625 0.125 >=8 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [13] 4 2 0.125 0.25 0.125 0.125 4 2 0.5 0.25 0.125 0.125</span>
|
<span class="r-out co"><span class="r-pr">#></span> [11] 4 4 0.125 2 0.5 2 0.125 >=8 1 2 </span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [25] 4 </span>
|
<span class="r-out co"><span class="r-pr">#></span> [21] 4 0.5 0.125 0.25 >=8 </span>
|
||||||
<span class="r-in"><span></span></span>
|
<span class="r-in"><span></span></span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 8-50</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span><span class="op">)</span> <span class="co"># range 8-50</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 43 25 43 32 45 42 10 14 23 47 22 15 32 9 20 39 40 24 17 10 9 24 32 15 37</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 36 47 48 24 19 50 34 23 39 40 21 36 25 37 31 43 8 45 47 37 22 48 12 21 43</span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 11-17</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Klebsiella pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 11-17</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 12 15 12 17 16 15 15 16 14 14 17 16 13 14 11 15 15 13 14 16 15 12 11 13 12</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 11 11 13 13 11 11 14 11 15 11 12 15 14 17 15 17 17 12 13 17 12 13 11 11 16</span>
|
||||||
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 12-27</span></span></span>
|
<span class="r-in"><span><span class="fu">random_disk</span><span class="op">(</span><span class="fl">25</span>, <span class="st">"Streptococcus pneumoniae"</span>, <span class="st">"ampicillin"</span><span class="op">)</span> <span class="co"># range 12-27</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
<span class="r-out co"><span class="r-pr">#></span> Class 'disk'</span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 25 23 19 22 15 24 22 24 15 21 25 25 16 21 19 23 20 26 24 26 19 27 25 20 16</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] 25 22 20 19 27 17 24 18 27 15 18 22 18 21 24 15 22 19 21 20 21 18 20 21 23</span>
|
||||||
<span class="r-in"><span><span class="co"># }</span></span></span>
|
<span class="r-in"><span><span class="co"># }</span></span></span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|
@ -12,7 +12,7 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
@ -181,7 +181,7 @@ When negative ('left-skewed'): the left tail is longer; the mass of the distribu
|
|||||||
<div class="section level2">
|
<div class="section level2">
|
||||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">skewness</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Uniform.html" class="external-link">runif</a></span><span class="op">(</span><span class="fl">1000</span><span class="op">)</span><span class="op">)</span></span></span>
|
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">skewness</span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/Uniform.html" class="external-link">runif</a></span><span class="op">(</span><span class="fl">1000</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||||
<span class="r-out co"><span class="r-pr">#></span> [1] 0.02383542</span>
|
<span class="r-out co"><span class="r-pr">#></span> [1] -0.03284585</span>
|
||||||
</code></pre></div>
|
</code></pre></div>
|
||||||
</div>
|
</div>
|
||||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
<a class="navbar-brand me-2" href="../index.html">AMR (for R)</a>
|
||||||
|
|
||||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9005</small>
|
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">2.0.0.9006</small>
|
||||||
|
|
||||||
|
|
||||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||||||
|