filter_profiles {PrInCE} | R Documentation |
Filter a matrix of co-elution/co-fractionation profiles by removing profiles without a certain number of non-mising or consecutive points.
filter_profiles(profile_matrix, min_points = 1, min_consecutive = 5)
profile_matrix |
a numeric matrix of co-elution profiles, with proteins
in rows, or a |
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 |
the filtered profile matrix
data(scott) nrow(scott) filtered <- filter_profiles(scott) nrow(scott)