filter_profiles: Filter a co-elution profile matrix

Description Usage Arguments Value Examples

View source: R/filter_profiles.R

Description

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

Usage

1
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

1
2
3
4

fosterlab/PrInCE-R documentation built on Dec. 11, 2020, 3:51 p.m.