View source: R/missingValuesFilter.R
StringBasedFiltering2 | R Documentation |
Removes lines in the dataset based on a prefix strings.
StringBasedFiltering2(obj, cname = NULL, tag = NULL)
obj |
An object of class |
cname |
The name of the column that correspond to the line to filter |
tag |
A character string that is the prefix for the contaminants to find in the data |
An list of 4 items :
* obj : an object of class MSnSet
in which the lines have been deleted
* deleted : an object of class MSnSet
which contains the deleted lines
Samuel Wieczorek
data(Exp1_R25_pept, package="DAPARdata")
obj.filter <- StringBasedFiltering2(Exp1_R25_pept[seq_len(100)],
"Potential_contaminant", "+")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.