pairs_filter {structToolbox} | R Documentation |
This filter is used for study designs with paired sampling to ensure that measurements from the same source (e.g. patient) are represented in all factor levels and interactions.
pairs_filter(factor_name, sample_id, ...)
factor_name |
(character) The name of a sample-meta column to use. |
sample_id |
(character) Name of sample meta column containing sample identifiers. |
... |
Additional slots and values passed to |
A pairs_filter
object with the following output
slots:
filtered | (DatasetExperiment) A DatasetExperiment object after the filter has been applied. |
flags | (data.frame) A data.frame indicating whether features were filtered from the DatasetExperiment. |
struct object
M=pairs_filter(factor_name='Class',sample_id='ids')