Description Usage Arguments Value Examples
View source: R/collapseHypothesisWideFeatures.R
Collapse features with the same unique_feature_identifier as determined by getUniqueFeatureGroups
.
1 | callapseByUniqueFeatureGroups(feature_table, rm_decoys = TRUE)
|
feature_table |
data.table containing filtered complex feature results with an extra column with a unique_feature_identifier. |
rm_decoys |
Logical, whether to remove decoys before collapsing, default = |
data.table containing collapsed complex features.
1 2 3 4 5 6 7 8 9 10 | ## run unique feature annotation
complexFeaturesUnique <- getUniqueFeatureGroups(exampleComplexFeatures,
rt_height=2,
distance_cutoff=1,
plot=TRUE)
## Collapse across unique features
complexFeaturesCollapsed <- callapseByUniqueFeatureGroups(complexFeaturesUnique,
rm_decoys=TRUE)
## Inspect output
complexFeaturesCollapsed
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.