hlpr_compare_samples: Compare samples within an object

View source: R/h.R

hlpr_compare_samplesR Documentation

Compare samples within an object

Description

Checks whether the sample column in df complies with the sample names of the provided object.

Usage

hlpr_compare_samples(object, df, messages)

Arguments

object

A valid spata-object.

df

A data.frame

messages

The message vector that is generated by the function in which hlpr_compare_samples() is called in.

Details

This function is to be used within the SPATA::validateSpataObject()- functions. It expands the message-vector that is being generated by the calling function and returns it.

Value

Updated message vector.


kueckelj/SPATA2 documentation built on March 16, 2024, 10:25 a.m.