View source: R/missingValuesFilter.R
| StringBasedFiltering | R Documentation | 
This function removes lines in the dataset based on prefix strings (contaminants, reverse or both).
StringBasedFiltering( obj, idCont2Delete = NULL, prefix_Cont = NULL, idRev2Delete = NULL, prefix_Rev = NULL )
| obj | An object of class  | 
| idCont2Delete | The name of the column that correspond to the contaminants to filter | 
| prefix_Cont | A character string that is the prefix for the contaminants to find in the data | 
| idRev2Delete | The name of the column that correspond to the reverse data to filter | 
| prefix_Rev | A character string that is the prefix for the reverse to find in the data | 
An list of 4 items :
obj : an object of class MSnSet in which the lines have been deleted
deleted.both : an object of class MSnSet which contains the deleted 
lines corresponding to both contaminants and reverse, 
deleted.contaminants : n object of class MSnSet which contains the 
deleted lines corresponding to contaminants, 
deleted.reverse : an object of class MSnSet which contains the 
deleted lines corresponding to reverse,
Samuel Wieczorek
utils::data(Exp1_R25_pept, package='DAPARdata') StringBasedFiltering(Exp1_R25_pept[1:100], 'Potential_contaminant', '+', 'Reverse', '+')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.