qfeat_structural | R Documentation |
The function qfeat_structural
uses the input from QFeatures
and creates an
adjacency matrix based on m/z (molecular weight) difference from the MetNet
package.
qfeat_structural(x, assay_name = "features", ...)
x |
@param assay_name
|
... |
Insert here parameter from |
qfeat_structural
extracts required information from a QFeatures
input
and builds data.frames containing intensity informations, m/z values,
RT values, and annotations of all samples.
Then the function structural
from the MetNet
package is applied
to generate a m/z difference adjacency matrix.
@return
list
containing three matrices. The first entry stores the numeric
matrix
with edges inferred from mass differences. The second entry
stores the character
matrix
with the type (corresponding to the
"group"
column in transformation
) is stored. The third matrix stores
another character
matrix
with the corresponding mass difference ("mass"
column in transformation
).
Liesa Salzer, liesa.salzer@helmholtz-muenchen.de
####### To be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.