Function to merge two metadata tables together.
Usage
merge_metadata(metadata1, metadata2, log_file = NULL)
Arguments
- metadata1
A Seurat object or a tibble containing metadata with
either a column called "cell" with cell IDs or rownames with cell IDs.
- metadata2
A tibble containing metadata with
either a column called "cell" with cell IDs or rownames with cell IDs.
- log_file
A log filename.
Value
A metadata file merged on cell identifiers.