Subsequent steps assume unique identifiers are present within both the counts matrix and the metadata. This function checks whether samples in the counts matrix match samples in the metadata, and vice versa.versa.

check_mismatch(md, count_df)

Arguments

md

A data frame with sample identifiers as row names and relevant experimental covariates.

count_df

A counts data frame with sample identifiers as column names and gene Ids are rownames.