Skip to contents

Apply a series of filtering steps to the data set.

Usage

filterOutIn(
  dataSet,
  listName = c(),
  regexName = c(),
  removeList = TRUE,
  saveRm = TRUE
)

Arguments

dataSet

The 2d data set of experimental values.

listName

A character vector of proteins to select or remove.

regexName

A character vector specifying proteins for regular expression pattern matching to select or remove.

removeList

A boolean (default = TRUE) specifying whether the list of proteins should be removed or selected.

  • TRUE: Remove the list of proteins from the data set.

  • FALSE: Remove all proteins not in the list from the data set.

saveRm

A boolean (default = TRUE) specifying whether to save removed data to current working directory. This option only works when removeList = TRUE.

Value

A filtered 2d dataframe.

Details

If both listName and regexName are provided, the protein names selected or removed will be the union of those specified in listName and those matching the regex pattern in regexName.