updateMetadataSCE: Updating metadata of an SCE object

View source: R/updateMetadataSCE.R

updateMetadataSCER Documentation

Updating metadata of an SCE object

Description

updateMetadataSCE takes a new metadata object and updates the corresponding columns of the colData of an SCE object.

Usage

updateMetadataSCE(sce, md, merge_by = c("file_name"))

Arguments

sce

A SingleCellExperiment object.

md

A data.frame/data.table containing the following metadata:

  • file_name: the file name of the underlying FCS file.

Variables that do not exist in the colData of the SCE object will be ignored.

merge_by

A character vector. Specifies the names of the variables used for merging.

Value

A SingleCellExperiment-class object.


casanova-lab/iMUBAC documentation built on Sept. 13, 2022, 6:36 p.m.