Description Usage Arguments Value Examples
Converts a loaded set of features into a matrix of features. Each row of the matrix will represent a feature, and contain its retention time, mass-to- charge, and signal intensity values, in that order. The matrix will also be sorted by ascending RT.
1 | convertFeaturesToSortedMatrix(featureSet)
|
featureSet |
The set of features to convert, as a FeatureMap. |
The corresponding sorted matrix for the feature set.
1 2 3 4 5 6 7 | ## Not run:
featureSet <- loadFeatureFile("inst/extdata/featureSetA.featureXML")
featureMatrix <- convertFeaturesToSortedMatrix(featureSet)
featureMatrix[1, ]
# Returns [800.002794376452, 614.596298389786, 10900.7001953125]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.