This function will create a filter class object. The output will always have the same elements but not all of them will be used for every filter type. This object will be appended to the list in the filters attribute for an omicsData object.
set_filter(type, threshold, filtered, method)
A list containing all the elements in the filters attribute: (list all attributes)
The type of filter, see filter_objects.R
The threshold for filtering applied, if applicable.
The samples/biomolecules that are filtered.
A list of metadata about what method was used in applying the filter.