typeMatch_link0 | R Documentation |
typeMatch_link0
returns a list with accessors "link0df"
and
"type_match"
typeMatch_link0(similarityMatrix, sps, type, condition)
similarityMatrix |
|
sps |
|
type |
|
condition |
|
Helper function for shinyCircos
.
list
of length 2, entry link0df
is a data.frame
and
entry type_match
is a character
vector
Thomas Naake, thomasnaake@googlemail.com
data("spectra", package = "MetCirc")
similarityMat <- Spectra::compareSpectra(sps_tissue[1:10],
FUN = MsCoreUtils::ndotproduct, ppm = 10, m = 0.5, n = 2)
rownames(similarityMat) <- colnames(similarityMat) <- sps_tissue$name[1:10]
## order according to retention time
MetCirc:::typeMatch_link0(similarityMatrix = similarityMat,
sps = sps_tissue, type = "mz",
condition = c("SPL", "LIM", "ANT", "STY"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.