Skip to contents

given a model formula, remove samples with less than a specified number of replicates from the metadata

Usage

fltrLowReplicateParams(metadata_df, design_formula, replicate_threshold = 2)

Arguments

metadata_df

a data frame that contains at least the model paramters of interest

design_formula

an R formula, eg ~libraryDate+treatment, of parameters contained in the metadata_df

replicate_threshold

the number of replicates below which samples will be removed. Default is 2

Value

the input metadata with samples in replicate groups with less than the specified thershold filtered out