Skip to contents

Helper function: stop if duplicated sample ids are found

Usage

stop_if_duplicated_samples_found(df, col_sampleid, sheet = "")

Arguments

df

data frame with samples in wide format

col_sampleid

column name of sample id

sheet

optional in case EXCEL is used (default: "")

Value

error in case duplicated samples were found