View source: R/import_spede_clusters.R
import_spede_clusters | R Documentation |
Reformat the table output from the analysis of raw Bruker MALDI Biotyper spectra by the SPeDE tool from Dumolin et al. (2019) to be consistent with the Strejcek et al. (2018) procedure followed in the maldipickr package.
import_spede_clusters(path)
path |
Path to the comma separated table generated by SPeDE |
A tibble with the following columns:
name
: a character denoting the spectra name (all spaces, dashes and dots are replaced by underscores "_" in SPeDE)
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.
quality
: a character indicating the spectra quality category by SPeDE, out of GREEN, ORANGE and RED.
is_reference
: a logical indicating whether the corresponding spectra is a reference spectra of the cluster.
Dumolin C, Aerts M, Verheyde B, Schellaert S, Vandamme T, Van Der Jeugt F, De Canck E, Cnockaert M, Wieme AD, Cleenwerck I, Peiren J, Dawyndt P, Vandamme P, & Carlier A. (2019). "Introducing SPeDE: High-Throughput Dereplication and Accurate Determination of Microbial Diversity from Matrix-Assisted Laser Desorption–Ionization Time of Flight Mass Spectrometry Data". MSystems 4(5). doi:10.1128/msystems.00437-19.
https://github.com/LM-UGent/SPeDE
# Reformat the output from SPeDE table
# https://github.com/LM-UGent/SPeDE
import_spede_clusters(
system.file("spede.csv", package = "maldipickr")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.