componentsTPs-class | R Documentation |
This class is derived from components
and is used to store components that result from linking feature
groups that are (predicted to be) parents with feature groups that (are predicted to be) transformation products. For
more details, see generateComponentsTPs
.
## S4 method for signature 'componentsTPs'
as.data.table(x)
## S4 method for signature 'componentsTPs'
filter(
obj,
...,
retDirMatch = FALSE,
minSpecSim = NULL,
minSpecSimPrec = NULL,
minSpecSimBoth = NULL,
minFragMatches = NULL,
minNLMatches = NULL,
formulas = NULL,
verbose = TRUE,
negate = FALSE
)
## S4 method for signature 'componentsTPs'
plotGraph(obj, onlyLinked = TRUE, width = NULL, height = NULL)
x , obj |
A |
... , verbose |
Further arguments passed to the base |
retDirMatch |
If set to |
minSpecSim , minSpecSimPrec , minSpecSimBoth |
The minimum spectral similarity of a TP compared to its parent
(‘0-1’). The |
minFragMatches , minNLMatches |
Minimum number of parent/TP fragment and neutral loss matches, respectively. Set
to |
formulas |
A |
negate |
If |
onlyLinked |
If |
width , height |
Passed to |
filter
returns a filtered componentsTPs
object.
plotGraph
returns the result of visNetwork
.
as.data.table(componentsTPs)
: Returns all component data as a data.table
.
filter(componentsTPs)
: Provides various rule based filtering options to clean and prioritize TP data.
plotGraph(componentsTPs)
: Plots an interactive network graph for linked components. Components are linked with each
other if one or more transformation products overlap. The graph is constructed with the igraph package
and rendered with visNetwork.
fromTPs
A logical
that is TRUE
when the componentization was performed with
transformationProducts
data.
components
componentsTPs
The intensity values for components (used by plotSpectrum
) are set
to a dummy value (1) as no single intensity value exists for this kind of
components.
igraph2
components
for other relevant methods and generateComponents
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.