check_sample: Check sample input

View source: R/check.R

check_sampleR Documentation

Check sample input

Description

A member of the adjusting-check_*()-family. Takes a character vector of sample names and checks which of these exist.

Returns an adjusted sample-vector or raises an error.

Usage

check_sample(object, of_sample = "", desired_length = NULL, ...)

Arguments

object

A valid spata-object.

of_sample

This argument is currently inactive. It might be reactivated when spata-objects can store more than one sample.

desired_length

The length the input must have.


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