spectra_matrix: Spectra data to test addSpectralSimilarity

spectra_matrixR Documentation

Spectra data to test addSpectralSimilarity

Description

spectra_matrix contains one selected putative annotation of x_test. Missing annotations are filled with ‘NA'’s. It will be used as an example annotation in the vignette to show the functionality of the package.

Format

matrix

Value

matrix

Author(s)

Liesa Salzer, liesa.salzer@helmholtz-muenchen.de

Source

library(MsCoreUtils) library(Spectra)

f <- system.file("spectra_matrix/ms2_test.RDS", package = "MetNet") sps_sub <- readRDS(f)

adj_spec <- Spectra::compareSpectra(sps_sub, FUN = ndotproduct) colnames(adj_spec) <- sps_sub$id rownames(adj_spec) <- sps_sub$id


tnaake/MetNet documentation built on June 30, 2022, 10:50 a.m.