check_samples_D: Check that sample numbers and names match between a...

View source: R/helpers_discrete_discover.R

check_samples_DR Documentation

Check that sample numbers and names match between a dissimilarity matrix and a metadata data frame

Description

Sample names (row/column names of the D matrix, 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

check_samples_D(D, data)

Arguments

D

sample-by-sample matrix of dissimilarities (proportions or counts).

data

data frame of metadata.

Value

matched sample names


biobakery/MMUPHin documentation built on March 30, 2024, 4:50 a.m.