mirror of
https://github.com/msberends/AMR.git
synced 2025-07-21 00:13:21 +02:00
(v2.1.1.9253) parallel computing
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
\alias{top_n_microorganisms}
|
||||
\title{Filter Top \emph{n} Microorganisms}
|
||||
\usage{
|
||||
top_n_microorganisms(x, n, property = "fullname", n_for_each = NULL,
|
||||
top_n_microorganisms(x, n, property = "species", n_for_each = NULL,
|
||||
col_mo = NULL, ...)
|
||||
}
|
||||
\arguments{
|
||||
@ -12,7 +12,7 @@ top_n_microorganisms(x, n, property = "fullname", n_for_each = NULL,
|
||||
|
||||
\item{n}{An integer specifying the maximum number of unique values of the \code{property} to include in the output.}
|
||||
|
||||
\item{property}{A character string indicating the microorganism property to use for filtering. Must be one of the column names of the \link{microorganisms} 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 \code{NULL}, the raw values from \code{col_mo} will be used without transformation.}
|
||||
\item{property}{A character string indicating the microorganism property to use for filtering. Must be one of the column names of the \link{microorganisms} 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 \code{NULL}, the raw values from \code{col_mo} will be used without transformation. When using \code{"species"} (default) or \code{"subpecies"}, the genus will be added to make sure each (sub)species still belongs to the right genus.}
|
||||
|
||||
\item{n_for_each}{An optional integer specifying the maximum number of rows to retain for each value of the selected property. If \code{NULL}, all rows within the top \emph{n} groups will be included.}
|
||||
|
||||
|
Reference in New Issue
Block a user