typeMatch_link0 {MetCirc} | R Documentation

## Get typeMatch and link0 data frame

### Description

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

### Usage

    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

    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"))

[Package MetCirc version 1.22.0 Index]