Skip to contents

Validate if control compositions sum correctly

Usage

validate_composition_sum(
  user_data,
  row_number_col,
  strains_col,
  percentage_col,
  tolerance = 2
)

Arguments

user_data

A data frame containing the user data.

row_number_col

The column name for row numbers in user_data.

percentage_col

The column name for percentage in user_data.

tolerance

Tolerance for sum of control compositions.

Value

An instance of the ErrorData class or NULL.