compare_Spectra: Create similarity matrix from 'MSnbase::MSpectra' object

Description Usage Arguments Details Author(s) Examples

View source: R/similarity.R

Description

'compare_Spectra“ creates a similarity matrix of all Spectrum objects in 'object'

Usage

1
compare_Spectra(object, fun, ...)

Arguments

object

'MSpectra'

fun

'function' or 'character', see '?MSnbase::compareSpectra' for further information

...

arguments passed to 'compareSpectra'

Details

Function inspired by 'compareSpectra.OnDiskMSnExp'. Possibly transfer to 'MSnbase'. “

Author(s)

Thomas Naake (inspired by 'compareSpectra.OnDiskMSnExp')

Examples

1
2
data("spectra", package = "MetCirc")
compare_Spectra(spectra_tissue[1:10], fun = "dotproduct")

MetCirc documentation built on Nov. 8, 2020, 8:26 p.m.