Keep only those proteins with 2 IDENTIFIED peptides

filter_proteins_by_peptide_count(pdata, config)

Arguments

pdata

data.frame

config

AnalysisConfiguration

Value

list with data.frame (data) and name of new column (name)

Examples


istar <- prolfqua::sim_lfq_data_peptide_config()
#> creating sampleName from fileName column
#> Warning: no nr_children column specified in the data, adding column nr_children and setting to 1.
#> completing cases
filterPep <- prolfqua::filter_proteins_by_peptide_count( istar$data ,  istar$config )
#> Column added : nr_peptide_Id_IN_protein_Id
x <- prolfqua::summarize_hierarchy(filterPep$data , istar$config)
stopifnot(x$peptide_Id_n >= istar$config$parameter$min_peptides_protein)