filter_profiles {PrInCE} | R Documentation

## Filter a co-elution profile matrix

### Description

Filter a matrix of co-elution/co-fractionation profiles by removing profiles without a certain number of non-mising or consecutive points.

### Usage

    filter_profiles(profile_matrix, min_points = 1, min_consecutive = 5)

### Arguments

`profile_matrix` | a numeric matrix of co-elution profiles, with proteins in rows, or a `MSnSet` object
`min_points` | filter profiles without at least this many total, non-missing points
`min_consecutive` | filter profiles without at least this many consecutive, non-missing points

### Value

the filtered profile matrix

### Examples

    data(scott)
    nrow(scott)
    filtered <- filter_profiles(scott)
    nrow(scott)

[Package PrInCE version 1.3.0 Index]