typeMatch_link0: Get typeMatch and link0 data frame

Description Usage Arguments Details Value Author(s) Examples

View source: R/shinyApp.R

Description

'typeMatch_link0' returns a list with accessors '"link0df"' and '"type_match"'

Usage

1
typeMatch_link0(similarityMatrix, spectra, type, condition)

Arguments

similarityMatrix

'matrix' with pair-wise similarity values

spectra

'MSpectra' object

type

'character', either '"mz"', '"retentionTime"', '"clustering"'

condition

'character', tissue

Details

Helper function for 'shinyCircos'.

Value

'list' of length 2, entry 'link0df' is of 'data.frame' and entry 'type_match' that is a 'character' vector

Author(s)

Thomas Naake, thomasnaake@googlemail.com

Examples

1
2
3
4
5
6
7
data("spectra", package = "MetCirc")
similarityMat <- compare_Spectra(spectra_tissue[1:10], 
    fun = normalizeddotproduct, binSize = 0.01)
## order according to retention time 
MetCirc:::typeMatch_link0(similarityMatrix = similarityMat, 
    spectra = spectra_tissue, type = "mz", 
    condition = c("SPL", "LIM", "ANT", "STY"))

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