Coerce objects to type factors.

coerce_factors(md, factors)

Arguments

md

A data frame with sample identifiers in a column and relevant experimental covariates.

factors

A vector of factor variables.