Function that allows for removing or keeping specific proteins from any DEprot
object class.
# S3 method for class 'proteins'
filter(DEprot.object, proteins, mode = "keep")
An object of class DEprot
.
A string vector indicating a list of proteins to be use as filtering criteria. It must correspond to the counts rown names and 'prot.id' column of the analyses object.
A string indicating the mode to use for the filtering. If 'keep' the proteins are selected and kept, while if 'remove' the proteins are discarded. Default: "keep"
.
An object of class DEprot
(S4 vector).