mirror of
https://github.com/msberends/AMR.git
synced 2026-06-24 12:16:22 +02:00
Built site for AMR@3.0.1.9061: 0c1709c
This commit is contained in:
@@ -9,8 +9,14 @@ the top 5 genera.
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
top_n_microorganisms(x, n, property = "species", n_for_each = NULL,
|
||||
col_mo = NULL, ...)
|
||||
top_n_microorganisms(
|
||||
x,
|
||||
n,
|
||||
property = "species",
|
||||
n_for_each = NULL,
|
||||
col_mo = NULL,
|
||||
...
|
||||
)
|
||||
```
|
||||
|
||||
## Arguments
|
||||
@@ -29,16 +35,16 @@ top_n_microorganisms(x, n, property = "species", n_for_each = NULL,
|
||||
A character string indicating the microorganism property to use for
|
||||
filtering. Must be one of the column names of the
|
||||
[microorganisms](https://amr-for-r.org/reference/microorganisms.md)
|
||||
data set: `"mo"`, `"fullname"`, `"status"`, `"kingdom"`, `"phylum"`,
|
||||
`"class"`, `"order"`, `"family"`, `"genus"`, `"species"`,
|
||||
`"subspecies"`, `"rank"`, `"ref"`, `"oxygen_tolerance"`, `"source"`,
|
||||
`"lpsn"`, `"lpsn_parent"`, `"lpsn_renamed_to"`, `"mycobank"`,
|
||||
`"mycobank_parent"`, `"mycobank_renamed_to"`, `"gbif"`,
|
||||
`"gbif_parent"`, `"gbif_renamed_to"`, `"prevalence"`, or `"snomed"`.
|
||||
If `NULL`, the raw values from `col_mo` will be used without
|
||||
transformation. When using `"species"` (default) or `"subpecies"`, the
|
||||
genus will be added to make sure each (sub)species still belongs to
|
||||
the right genus.
|
||||
data set: `"mo"`, `"fullname"`, `"status"`, `"domain"`, `"kingdom"`,
|
||||
`"phylum"`, `"class"`, `"order"`, `"family"`, `"genus"`, `"species"`,
|
||||
`"subspecies"`, `"rank"`, `"ref"`, `"oxygen_tolerance"`,
|
||||
`"morphology"`, `"source"`, `"lpsn"`, `"lpsn_parent"`,
|
||||
`"lpsn_renamed_to"`, `"mycobank"`, `"mycobank_parent"`,
|
||||
`"mycobank_renamed_to"`, `"gbif"`, `"gbif_parent"`,
|
||||
`"gbif_renamed_to"`, `"prevalence"`, or `"snomed"`. If `NULL`, the raw
|
||||
values from `col_mo` will be used without transformation. When using
|
||||
`"species"` (default) or `"subpecies"`, the genus will be added to
|
||||
make sure each (sub)species still belongs to the right genus.
|
||||
|
||||
- n_for_each:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user