Skip to contents

Helper function: stop if duplicated sample ids are found

Usage

stop_if_duplicated_samples_found(df, col_sampleid, path, sheet = "")

Arguments

df

data frame with samples in wide format

col_sampleid

column name of sample id

path

path to file from which df was read (for information only)

sheet

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

Value

error in case duplicated samples were found