prepare_merged_metadata: Prepare an updated list of metadata for the merged SCE

View source: R/merge_sce_list.R

prepare_merged_metadataR Documentation

Prepare an updated list of metadata for the merged SCE

Description

The metadata will be reformatted to contain the following fields: - 'library_id': vector of all library ids in the merged object - 'sample_id': vector of all sample ids in the merged object - 'library_metadata': pre-merge metadata list for each library, named by SCE name - 'sample_metadata': a data frame with all distinct rows from the pre-merge sample_metadata data frames, with all values coerced to character

Usage

prepare_merged_metadata(metadata_list)

Arguments

metadata_list

List of metadata to update

Value

Updated metadata list to include in the merged SCE


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