Function that allows for removing or keeping specific proteins from any DEprot object class.

filter.proteins(DEprot.object, proteins, mode = "keep")

Arguments

DEprot.object

An object of class DEprot.

proteins

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.

mode

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".

Value

An object of class DEprot (S4 vector).