fltrLowReplicateParams: filter low replicate parameters from metadata

Description Usage Arguments Value

View source: R/ModelMatrixFunctions.R

Description

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

Usage

1
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


cmatKhan/brentlabRnaSeqTools documentation built on Nov. 17, 2021, 5:47 a.m.