check_samples: Check that sample numbers and names match between a feature...

Description Usage Arguments Value

View source: R/helpers.R

Description

Sample names (column names of the feature table, row names of the metadata data frame) must be matching exactly. Note that this dictates that they cannot be NULL because by design data (a data frame) should have non-empty row names.

Usage

1
check_samples(feature_abd, data)

Arguments

feature_abd

feature-by-sample matrix of abundances (proportions or counts).

data

data frame of metadata.

Value

matched sample names


MMUPHin documentation built on April 9, 2021, 6:01 p.m.