check_metadata: Helper function to check that expected metadata fields are...

View source: R/merge_sce_list.R

check_metadataR Documentation

Helper function to check that expected metadata fields are present in a given list of SCEs.

Description

The default expected fields are 'library_id' and 'sample_id'. If either is missing from any SCE, an error is thrown. This function does not return anything.

Usage

check_metadata(sce_list, expected_fields = c("library_id", "sample_id"))

Arguments

sce_list

List of SCEs to check

expected_fields

a vector of metadata fields that should be present


AlexsLemonade/scpcaTools documentation built on July 12, 2024, 8:34 a.m.