QFeatures-subsetBy: Subset by feature name

Description Arguments Value Examples

Description

This function will find the assays and features that match directly (by name) or indirectly (through aggregation) the feature name.

The subsetByFeature function will first identify the assay that contains the feature(s) i and filter the rows matching these feature names exactly. It will then find, in the other assays, the features that produces i through aggregation with the aggregateQFeatures function.

See QFeatures for an example.

Arguments

x

An instance of class QFeatures.

y

A character of feature names present in an assay in x.

...

Additional parameters. Ignored.

Value

An new instance of class QFeatures containing relevant assays and features.

Examples

1
2
3
4
example(aggregateFeatures)

## Retrieve protein 'ProtA' and its 2 peptides and 6 PSMs
feat1["ProtA", , ]

QFeatures documentation built on Nov. 8, 2020, 6:51 p.m.