getIndicesOfLinesToRemove {DAPAR} | R Documentation |
This function returns the indice of the lines to delete, based on a prefix string
getIndicesOfLinesToRemove(obj, idLine2Delete = NULL, prefix = NULL)
obj |
An object of class |
idLine2Delete |
The name of the column that correspond to the data to filter |
prefix |
A character string that is the prefix to find in the data |
A vector of integers.
Samuel Wieczorek
utils::data(Exp1_R25_pept, package='DAPARdata') ind <- getIndicesOfLinesToRemove(Exp1_R25_pept[1:100], "Potential_contaminant", prefix="+")