View source: R/delineate_with_identification.R
delineate_with_identification | R Documentation |
From the report of taxonomic identification produced by the Bruker MALDI Biotyper spectra sharing the same identification are labeled in the same cluster. Spectra with unknown identification (e.g., due to database completeness) are set in unique cluster.
delineate_with_identification(tibble_report)
tibble_report |
A tibble of n rows, with n the number of spectra,
produced by |
As all unknown identification are considered unique clusters within one input tibble, it is important to consider whether the taxonomic identifications come from a single report or multiple reports, depending on the research question. A message is displayed to confirm from which type of reports the delineation was done.
A tibble of n rows for each spectra and 3 columns:
name
: the spectra names from the name
column from the output of either read_biotyper_report()
or read_many_biotyper_reports()
.
membership
: integers stating the cluster number to which the spectra belong to. It starts from 1 to c, the total number of clusters.
cluster_size
: integers indicating the total number of spectra in the corresponding cluster.
delineate_with_similarity
report_unknown <- read_biotyper_report(
system.file("biotyper_unknown.csv", package = "maldipickr")
)
delineate_with_identification(report_unknown)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.